Messages in this thread |  | | Subject | Re: [PATCH] thread wakeup fix for 2.4.0-test7 | Date | Mon, 28 Aug 2000 23:28:59 +0100 (BST) | From | Alan Cox <> |
| |
> 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 majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |