mirror of
https://github.com/php/php-src.git
synced 2026-03-26 17:22:15 +01:00
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.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user