1
0
Fork 0

fixes #301: refix locking impl

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1245 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.1
Xuefer 10 years ago
parent 876859cc24
commit 5ce96cff4f

@ -10,6 +10,7 @@ ChangeLog
* fixes #303: tablesort.js not found in Diagnosis and Coverager
* fixes #297: segv on startup under sparc, ini setting overflow
* fixes #296: Multiple instances of the same software causes PHP "cannot redeclare class" errors when readonly_protection is not in use
* fixes #301: refix locking impl
3.0.1 2013-01-11
ChangeLog

@ -28,7 +28,7 @@
/* {{{ detect which lock is needed */
#if defined(XC_LOCK_NEED_TS) && defined(XC_LOCK_NEED_INTERPROCESS)
# ifdef PTHREAD
# ifdef PTHREADS
# define XC_LOCK_USE_PTHREAD
# ifndef _POSIX_THREAD_PROCESS_SHARED
# define XC_LOCK_USE_FCNTL
@ -278,7 +278,6 @@ void xc_lock_destroy(xc_lock_t *lck) /* {{{ */
#ifdef XC_LOCK_USE_TSRM
tsrm_mutex_free(lck->tsrm_mutex);
lck->tsrm_mutex = NULL;
#endif
#ifdef XC_LOCK_USE_FCNTL

Loading…
Cancel
Save