1
0
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:
Sascha Schumann
1999-12-12 10:49:03 +00:00
parent 5d00c366e7
commit 4762285e40

View File

@@ -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;