Browse Source

Disable global lock for now. We will have to find a way to test subsystems

for thread-safety, and lock them appropiately, if they aren't thread-safe.
experimental/RETURN_REF
Sascha Schumann 26 years ago
parent
commit
4762285e40
  1. 2
      main/main.c

2
main/main.c

@ -79,6 +79,8 @@ php_core_globals core_globals;
PHPAPI int core_globals_id;
#endif
#define NO_GLOBAL_LOCK
/* temporary workaround for thread-safety issues in libzend */
#if defined(ZTS) && !defined(NO_GLOBAL_LOCK)
static MUTEX_T global_lock;

Loading…
Cancel
Save