Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Jan 1998 11:43:11 -0800 (PST)
From:      Julian Elischer <julian@whistle.com>
To:        Niall Smart <njs3@doc.ic.ac.uk>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: Preemptive threads
Message-ID:  <Pine.BSF.3.95.980131114137.13227A-100000@current1.whistle.com>
In-Reply-To: <E0xyiVZ-0000hn-00@oak67.doc.ic.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
If you've compiled with libc_r and the option THREAD_SAFE
then you probably did get a non-blocking call to read.. a lot of that
stuff is handled "under the covers".

(just a guess) 

Julian
On Sat, 31 Jan 1998, Niall Smart wrote:

> Hi,
> 
> Are the threads in 3.0-current supposed to be pre-emptive yet?  I was
> just playing around with a multithreaded TCP echo server and it cannot
> accept more than one connection simultaneously.  Also, the first call
> to read on a socket returns EAGAIN even though its not non-blocking.
> 
> 
> Regards,
> 
> Niall
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.980131114137.13227A-100000>