_glthread_TSD problem [was: display lists broken in Mesa maybe due to glapi dispatch changes (?), and an Xthreads problem]
Ian Romanick
idr at us.ibm.com
Tue Aug 30 12:28:13 PDT 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Adam Jackson wrote:
> You _have_ to have it defined correctly. The Xlib ABI changes based on
> whether it was built with XTHREADS support. We didn't have to define
> XTHREADS in an installed header file in the monolith because everything was
> built in the same pass and imake would define it for us. This is no longer
> the case.
>
> The s/XTHREADS/USE_&/ conversion is correct, to the extent that it lets you
> choose whether your libGL is threadsafe. Whether we should allow people to
> do that is perhaps debatable.
libGL is still thread-safe. It just uses -DPTHREADS instead. The
pthreads paths tend to be slightly more efficient and match the way the
drivers get built.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQFDFLNNX1gOwKyEAw8RAgjtAJ4gdfMiyYN4abI+oHuw1cykY1XGNwCfVCt0
z4NGlqZZi/z9Ugb06SvjjbU=
=p5ZW
-----END PGP SIGNATURE-----
More information about the xorg
mailing list