Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Sep 1997 20:18:22 -0500
From:      Carl Fongheiser <cmf@netins.net>
To:        "Suresh Mali" <smalifreebsd@hotmail.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Fwd: Posix thread support
Message-ID:  <v03102800b03ba458f3bd@[44.50.32.7]>

next in thread | raw e-mail | index | archive | help
>>
>>Hi,
>>
>>I want to find out is the posix thread in FreeBSD-2.2.2. REALESE is
>>stable?
>>
>>Are all libraries are thread safe?

I'd be surprised if *all* the libraries are thread safe.

>>If yes then
>>
>>cd /usr/src/lib/libc_r;  make all && make install
>>
>>will Install all corect thread safe libraries or anything else
>required?
>>
>>Is pthread packege 100 % posix thread complient or anything missing?

No, it's not 100% compliant.  Some gaps:

	sched_yield() doesn't exist.  It's there under the wrong name,
	though;  it's called pthread_yield().

	The static initializer macros (PTHREAD_MUTEX_INITIALIZER,
	PTHREAD_COND_INTIALIZER, etc.) aren't in the public include
	file;  they're squirreled away in
	/usr/src/lib/libc_r/uthread/pthread_private.h

Carl Fongheiser
cmf@netins.net





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?v03102800b03ba458f3bd>