On Wed, 09 May 2001 19:20:07 +0900, Seigo Tanimura <tanimura> said: Seigo> That does not, however, necessarily imply that we can scan file Seigo> descriptors with holding a process lock. Another process can release a Seigo> reference to a file descriptor via closef() during polling the Seigo> descriptor by calling its fo_poll. In this case, fdrop() subsequent to Seigo> the call of fo_poll may result the reference count of the descriptor Seigo> to be zero. Hang on, the process that owns a file descriptor should be fhold()ing the descriptor. Since we never call closef() during waiting for an event, that problem described above is no more than absurd fear. -- Seigo Tanimura <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
- select(2) converted to use a condition variable, and opti... Seigo Tanimura
- Re: select(2) converted to use a condition variable,... Alfred Perlstein
- Re: select(2) converted to use a condition varia... John Baldwin
- RE: select(2) converted to use a condition variable,... John Baldwin
- RE: select(2) converted to use a condition varia... Seigo Tanimura
- RE: select(2) converted to use a condition v... John Baldwin
- RE: select(2) converted to use a conditi... Seigo Tanimura
- RE: select(2) converted to use a co... Seigo Tanimura
- RE: select(2) converted to use a co... John Baldwin
- Re: select(2) converted to use ... Seigo Tanimura
- Re: select(2) converted to ... Terry Lambert
- Re: select(2) converted to ... John Baldwin
- Re: select(2) converted to ... Seigo Tanimura
- Re: RE: select(2) converted to use ... Matt Dillon
- Re: select(2) converted to use ... Seigo Tanimura
- RE: select(2) converted to use a co... Seigo Tanimura
- atomic operation of flags (was: RE: select(2) co... Seigo Tanimura
- RE: atomic operation of flags (was: RE: sele... John Baldwin