[105] in Pthreads mailing list archive
Blocking system calls (Sockets) in PThreads
daemon@ATHENA.MIT.EDU (Andreas Jung)
Mon Sep 4 09:53:10 1995
From: ajung@hssun5.cs.uni-sb.de (Andreas Jung)
To: pthreads@MIT.EDU
Date: Mon, 4 Sep 1995 15:06:02 +0200 (MET DST)
Hi,
I am using the pthread package of Frank Mueller under SunOS 4.1.4
in combination with gcc 2.7.0. Within a test application I opened
a socket for listening on incoming connections. Normally an application
blocks at the accept() statement until there is an incoming call.
But within the pthreads context accept() does not block.
I can't say whether this behaviour is normal or not.
Does anyone has some experiences with this topic ????
Thanks in advance
- Andreas Jung
--
------------------------------------------------------------------------
/// Andreas Jung, Klosterstr. 21, D-66125 Saarbruecken, Germany
/// Phone: +49-(0)681-302-3016 (work), +49-(0)6897-71959 (home)
\\\/// E-Mail: ajung@cs.uni-sb.de IRC: YET
\XX/ WWW: http://hssun4.cs.uni-sb.de/~ajung
------------------------------------------------------------------------