Browse Source

Use correct data type for mutex.

experimetnal/RETURN_REF_PATCH
Sascha Schumann 27 years ago
parent
commit
965c9c2187
  1. 2
      main/main.c

2
main/main.c

@ -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()

Loading…
Cancel
Save