]> granicus.if.org Git - php/commitdiff
Use correct data type for mutex.
authorSascha Schumann <sas@php.net>
Fri, 8 Oct 1999 16:29:33 +0000 (16:29 +0000)
committerSascha Schumann <sas@php.net>
Fri, 8 Oct 1999 16:29:33 +0000 (16:29 +0000)
main/main.c

index 1927534e8c62e26872d7d2aaf84837c9d8bc68dd..9e1205ee027e547091226140f9d82371eec159a7 100644 (file)
@@ -90,7 +90,7 @@ PHPAPI int core_globals_id;
 
 /* temporary workaround for thread-safety issues in libzend */
 #if defined(ZTS) && !defined(NO_GLOBAL_LOCK)
-static THREAD_T global_lock;
+static MUTEX_T global_lock;
 #define global_lock() tsrm_mutex_lock(global_lock)
 #define global_unlock() tsrm_mutex_unlock(global_lock);
 #define global_lock_init() global_lock = tsrm_mutex_alloc()