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

Reply via email to