Non thread safe primitives

Mike Frysinger vapier at gentoo.org
Wed Dec 6 19:16:12 UTC 2006


On Wednesday 06 December 2006 04:53, John Zoidberg wrote:
> I've found some messages on the mailing list that uClibc is not thread safe
> http://www.uclinux.org/pub/uClinux/archive/4087.html (2001)

you found some pretty old messages

> But from here
> http://uclibc.org/cgi-bin/viewcvs.cgi/trunk/uClibc/docs/threads.txt?rev=972
>1&view=markup (2005)
> it seems at least the C standard library (I/O, malloc, errno, math,
> etc) part is fully thread safe, and for the primitives that aren't, a
> reentrant counterpart is provided. Am i wrong on this?

uClibc should only be as thread safe as POSIX requires ... so if a function is 
not required to be reentrant, then generally there are _r versions
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20061206/655282bb/attachment-0002.pgp 


More information about the uClibc mailing list