1
0
mirror of https://github.com/php/php-src.git synced 2026-04-02 13:43:02 +02:00

unposixfy calls to TSRM

This commit is contained in:
Sascha Schumann
1999-11-26 19:27:08 +00:00
parent 1f9a496601
commit 3d092da662

View File

@@ -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]);
}
}