This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix deadlock in close()


On Thu, Jan 24, 2008 at 12:33:14PM +0100, ?yvind Harboe wrote:
> Allow filing system to access files during close(). Without
> this fix, any file access causes a deadlock during
> close().

It might stop a deadlock, but it opens up a race condition. Imaging a
close() and a dup() at the same time. 

        Andrew


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]