- This can explain lots of instability on multi-threaded platforms!

This commit is contained in:
Andi Gutmans 2001-04-04 16:25:29 +00:00
parent 6e2a6e07db
commit ac8ab87841

View File

@ -352,7 +352,7 @@ void ts_free_thread(void)
if (last) {
last->next = thread_resources->next;
} else {
tsrm_tls_table[hash_value]=NULL;
tsrm_tls_table[hash_value] = thread_resources->next;
}
#if defined(PTHREADS)
pthread_setspecific( tls_key, 0 );