[107] in Pthreads mailing list archive

home help back first fref pref prev next nref lref last post

Re: Patches for pthreads-1.60 beta3

daemon@ATHENA.MIT.EDU (Greg Hudson)
Wed Sep 6 00:08:13 1995

To: NIIBE Yutaka <gniibe@mri.co.jp>
Cc: pthreads@MIT.EDU
In-Reply-To: Your message of "Wed, 06 Sep 1995 12:44:29 +0900."
             <199509060344.MAA00784@megatherium.mri.co.jp> 
Date: Tue, 05 Sep 1995 23:48:11 EDT
From: Greg Hudson <ghudson@MIT.EDU>

> Pthread library assumes all file descripters are set to NONBLOCK and
> __FD_NONBLOCK flag in `fd_table[fd]->flags' is not set.  Fcntl
> breaks this.  Here is fix.

The pthread library should not assume that __FD_NONBLOCK is unset in
fd_table[fd]->flags, since the user might request non-blocking I/O.
Can you explain where you found an assumption in the library that
__FD_NONBLCOK is unset in fd_table[fd]->flags?


home help back first fref pref prev next nref lref last post