> At 22:35 +0100 2001-06-06, Alan Cox wrote:
> > > This report describes a problem in the usage of file
> > > descriptors across
> >> multiple threads. When one thread closes a file descriptor, another
> >> thread which waits for an I/O on that file descriptor is not notified
> >> and
Alexander Viro <[EMAIL PROTECTED]> writes:
> On 7 Jun 2001, Florian Weimer wrote:
>
> > Matthias Urlichs <[EMAIL PROTECTED]> writes:
> >
> > > Select is defined as to return, with the appropriate bit set, if/when
> > > a nonblocking read/write on the file descriptor won't block. You'd get
> >
Alexander Viro [EMAIL PROTECTED] writes:
On 7 Jun 2001, Florian Weimer wrote:
Matthias Urlichs [EMAIL PROTECTED] writes:
Select is defined as to return, with the appropriate bit set, if/when
a nonblocking read/write on the file descriptor won't block. You'd get
EBADF in this
At 22:35 +0100 2001-06-06, Alan Cox wrote:
This report describes a problem in the usage of file
descriptors across
multiple threads. When one thread closes a file descriptor, another
thread which waits for an I/O on that file descriptor is not notified
and blocks forever.
Matthias Urlichs <[EMAIL PROTECTED]> writes:
> Select is defined as to return, with the appropriate bit set, if/when
> a nonblocking read/write on the file descriptor won't block. You'd get
> EBADF in this case, therefore causing the select to return would be a
> Good Thing.
How do you avoid
[1.] I/O system call never returns if file desc is closed in the meantime
[2.] Full description of the problem/report:
This report describes a problem in the usage of file descriptors across
multiple threads. When one thread closes a file descriptor, another
thread which waits for an I/O on
[1.] I/O system call never returns if file desc is closed in the meantime
[2.] Full description of the problem/report:
This report describes a problem in the usage of file descriptors across
multiple threads. When one thread closes a file descriptor, another
thread which waits for an I/O on
Matthias Urlichs [EMAIL PROTECTED] writes:
Select is defined as to return, with the appropriate bit set, if/when
a nonblocking read/write on the file descriptor won't block. You'd get
EBADF in this case, therefore causing the select to return would be a
Good Thing.
How do you avoid race
8 matches
Mail list logo