summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>1999-12-12 10:49:03 +0000
committerSascha Schumann <sas@php.net>1999-12-12 10:49:03 +0000
commit4762285e407fb5ee2ca3eb91e8fa0d12cd19410f (patch)
treee70b2266b8032f0d0ae6ba0c05530580c27e486f
parent5d00c366e77a10b2e73fcad8e22abbc91fa7b28a (diff)
downloadphp-git-4762285e407fb5ee2ca3eb91e8fa0d12cd19410f.tar.gz
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.
-rw-r--r--main/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/main.c b/main/main.c
index f21d3563e7..7ffc5b1b7e 100644
--- a/main/main.c
+++ b/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;