What mechanisms prevent reuse of a file descriptor between the time it is extracted from a FileDescriptor object and the actual UNIX system call? If there is any locking, it's not very apparent from the source code.
- Races between close() and other operations on file channels Florian Weimer
- Re: Races between close() and other operations on file... Alan Bateman
- Re: Races between close() and other operations on ... Florian Weimer
