DragonFly BSD
DragonFly bugs List (threaded) for 2006-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Unexpected soft update inconsistency


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Sun, 11 Jun 2006 18:21:02 -0700 (PDT)

:While libc_r is the most typical source of non-blocking descriptors, it
:is not that uncommon. I prefer to fix the stdio code to properly deal
:with the situation.
:
:I just haven't had the time to polish it enough (yet).
:
:Joerg

    I agree stdio has to be fixed.  But we need a solution that works
    with read() and write() too.

    We have a general problem with anyone setting O_NONBLOCK.  We have
    a specific problem with libc_r in that the program abstraction is
    blocking, but libc_r sets O_NONBLOCK.

    I wonder... maybe we should physically duplicate the file pointer
    when an 'exec' occurs rather then share it.

    We might have to do both, but at the very least in order to maintain
    the blocking abstraction libc_r can't use O_NONBLOCK.

					-Matt
					Matthew Dillon 
					<dillon@xxxxxxxxxxxxx>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]