mirror of
https://github.com/php/php-src.git
synced 2024-11-26 19:33:55 +08:00
- This can explain lots of instability on multi-threaded platforms!
This commit is contained in:
parent
6e2a6e07db
commit
ac8ab87841
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user