cvs: /php4 reentrancy.c

From: Date: Fri, 26 Nov 1999 19:27:39 +0000
Subject: cvs: /php4 reentrancy.c
Groups: php.version4 
Request: Send a blank email to php-version4+get-6945@lists.php.net to get a copy of this message
sas Fri Nov 26 14:27:39 1999 EDT Modified files: /php4 reentrancy.c Log: unposixfy calls to TSRM Index: php4/reentrancy.c diff -u php4/reentrancy.c:1.5 php4/reentrancy.c:1.6 --- php4/reentrancy.c:1.5 Fri Nov 26 14:09:57 1999 +++ php4/reentrancy.c Fri Nov 26 14:27:08 1999 @@ -124,7 +124,7 @@ 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 @@ int i; for (i = 0; i < NUMBER_OF_LOCKS; i++) { - tsrm_mutex_destroy(reentrant_locks[i]); + tsrm_mutex_free(reentrant_locks[i]); } }

« previous php.version4 (#6945) next »