[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: thread support

Guenter Geiger <geiger@iem.mhsg.ac.at> writes:

>  - libraries should be compiled reentrant

This has been on the list of things to do (for bo and now for hamm)
for a while.  It'll propagate eventually.

Note that just compiling with -D_REENTRANT doesn't mean that the
library is suddenly multi-thread safe, but it does mean that it won't
use any thread unsafe macros from stdio or other includes that respect
-D_REENTRANT, so that it should then be possible to use it safely by
using mutexes to make sure that no more than one thread is ever inside
the library.  I've had to do that here with X (3.2).


TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .

Reply to: