mirror of
https://github.com/php/php-src.git
synced 2024-11-24 10:24:11 +08:00
unposixfy calls to TSRM
This commit is contained in:
parent
1f9a496601
commit
3d092da662
@ -124,7 +124,7 @@ void reentrancy_startup(void)
|
||||
int i;
|
||||
|
||||
for (i = 0; i < NUMBER_OF_LOCKS; i++) {
|
||||
tsrm_mutex_init(reentrant_locks[i]);
|
||||
reentrant_locks[i] = tsrm_mutex_alloc();
|
||||
}
|
||||
}
|
||||
|
||||
@ -133,7 +133,7 @@ void reentrancy_shutdown(void)
|
||||
int i;
|
||||
|
||||
for (i = 0; i < NUMBER_OF_LOCKS; i++) {
|
||||
tsrm_mutex_destroy(reentrant_locks[i]);
|
||||
tsrm_mutex_free(reentrant_locks[i]);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user