Re: [PATCH] thread wakeup fix for 2.4.0-test7

From: Alan Cox (
Date: Mon Aug 28 2000 - 17:28:59 EST

> The close() function will deallocate the file descriptor
> indicated by fildes. To deallocate means to make the file
> descriptor available for return by subsequent calls to open()
> or other functions that allocate file descriptors.
> So we could sleep in close (forever, maybe) until the polls are
> finished if you prefer.
> close doesn't close. This would be a ``bug'', Linus.

Nope. The fd can be closed and a new one opened while the poll sleeps on the
existing one. The current code is compliant

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

This archive was generated by hypermail 2b29 : Thu Aug 31 2000 - 21:00:22 EST