don't touch TLS on linuxthreads

This commit is contained in:
Glenn Maynard
2004-09-20 06:13:39 +00:00
parent 86de3757ee
commit 477a9ac080
@@ -78,6 +78,10 @@ static int TestTLSThread( void *p )
static void TestTLS()
{
/* TLS won't work on older threads libraries, and may crash. */
if( !UsingNPTL() )
return;
/* TLS won't work on older Linux kernels. Do a simple check. */
g_iTestTLS = 1;