[670] in Pthreads mailing list archive

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

NONBLOCKING fcntl

daemon@ATHENA.MIT.EDU (Cheryl Huntington)
Wed Jul 9 18:48:32 1997

Date: Wed, 09 Jul 1997 15:38:23 -0700
From: Cheryl Huntington <clh@swdc.stratus.com>
To: pthreads@MIT.EDU

I've noticed in fd.c, that the function fcntl always sets the fd to be
NONBLOCKING for F_SETFL. I can see why you wouldn't want blocking in
threads, but what if the app really needs blocking? Is it reasonable to
force it to be NONBLOCKING?  

Cheryl



-- 
   Cheryl Huntington        clh@swdc.stratus.com        408-559-5665
Stratus  Western  Development  Center,  Commands  and  Utilities  Group

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