Changeset 1245


Ignore:
Timestamp:
2013-05-20T10:02:40+02:00 (19 months ago)
Author:
moo
Message:

fixes #301: refix locking impl

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r1238 r1245  
    1111 * fixes #297: segv on startup under sparc, ini setting overflow 
    1212 * fixes #296: Multiple instances of the same software causes PHP "cannot redeclare class" errors when readonly_protection is not in use 
     13 * fixes #301: refix locking impl 
    1314 
    14153.0.1 2013-01-11 
  • trunk/xcache/xc_lock.c

    r1206 r1245  
    2929/* {{{ detect which lock is needed */ 
    3030#if defined(XC_LOCK_NEED_TS) && defined(XC_LOCK_NEED_INTERPROCESS) 
    31 #   ifdef PTHREAD 
     31#   ifdef PTHREADS 
    3232#       define XC_LOCK_USE_PTHREAD 
    3333#       ifndef _POSIX_THREAD_PROCESS_SHARED 
     
    279279#ifdef XC_LOCK_USE_TSRM 
    280280    tsrm_mutex_free(lck->tsrm_mutex); 
    281     lck->tsrm_mutex = NULL; 
    282281#endif 
    283282 
Note: See TracChangeset for help on using the changeset viewer.