On Wed, Dec 10, 2003 at 12:39:59AM -0500, Daniel Eischen wrote: > Yes, I think libc should only call locking primitives when > __isthread != 0. Hi Dan, You don't mean that, do you? You seem to be implying that pthread functions would have to be invoked in libc something like this: result = __isthreaded ? _pthread_mutex_trylock(&foo_lock) : 0; if (result != 0) /* error */; or use the macros in reentrant.h. But, maybe I'm just misunderstanding you. I believe the thread functions are `stubbed out' in the non-thread case? Cheers, -- Jacques Vidrine NTT/Verio SME FreeBSD UNIX Heimdal nectar_at_celabo.org jvidrine_at_verio.net nectar_at_freebsd.org nectar_at_kth.seReceived on Wed Dec 10 2003 - 08:08:19 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:33 UTC