Duncan Sands wrote:

>>(in fact, fork() is exactly how libpthread is implemented on Linux)

> clone()

Fair enough. My point was that Linux implements threads using processes, 
differing from the KSE system of FreeBSD.

>>The fault is with FreeBSD, really, as every POSIX-compliant system is
>>expected to support pthreads correctly.

> Windows NT is posix compliant.

In a very loose sense, yes. It only implements one of the 12 POSIX 
standards (the API).

FreeBSD claims to implement POSIX.4 (which includes threading), but the 
existing libpthread implementation is broken in several respects. I'd 
rather not have an implementation at all than one which is broken, even 
readily admitted to being broken, particularly in undocumented ways. ;)

All this should change in later releases of 5.x, when the new threading 
libraries become standard.

-- 
Cheers,
Jay

-- 
http://www.imperial.ac.uk/ - 3rd year CS student


Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se d�sinscrire : mailto:[EMAIL PROTECTED]

        

Reply via email to