Re: Thread safe X libs?
eichin@kitten.gen.ma.us (Mark W. Eichin) writes:
> Every X release for a long time has been built _REENTRANT, and the
> 3.3.1 libs are built with some threading options turned on (I'd have
> to look at the config files to see what, though.)
I would guess that this is essentially the stuff in
/usr/doc/libc6/README.Xfree3.2.linuxthreads.gz, but I don't know for
sure.
We do pass the only runtime test I know:
#include <stdio.h>
#include <X11/Intrinsic.h>
int main(int argc, char **argv) {
printf("Xt thread safe: %d\n", (int) XtToolkitThreadInitialize());
return 0;
}
$ gcc -Wall -o testx testx.c -L/usr/X11R6/lib -lX11 -lXt
$ testx
Xt thread safe: 1
--
Rob Browning <rlb@cs.utexas.edu>
PGP fingerprint = E8 0E 0D 04 F5 21 A0 94 53 2B 97 F5 D6 4E 39 30
--
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: