Changeset 1245 in svn for trunk/xcache/xc_lock.c


Ignore:
Timestamp:
2013-05-20T10:02:40+02:00 (2 years ago)
Author:
Xuefer
Message:

fixes #301: refix locking impl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.