Takashi Ishihara wrote:
> > I think pth_read() will normally block unless you use pth_fdmode() to
> > set the descriptor to non-blocking.
>
> This is not true after Pth 1.1.
> Read pth man(1) utilities section.
> In ps version, it's near the end of p.11.
> It says "pth_read(3) or pth_write(3) will never block the current thread".
You forgot the beginning of that sentence: "Instead when you now switch
a file descriptor explicitly into non-blocking mode, ...".
I read this to mean that if you don't switch it into non-blocking mode,
then it will block.
-Archie
__________________________________________________________________________
Archie Cobbs * Packet Design * http://www.packetdesign.com
______________________________________________________________________
GNU Portable Threads (Pth) http://www.gnu.org/software/pth/
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager (Majordomo) [EMAIL PROTECTED]