Changeset 1246 in svn for branches/3.0/xcache/xc_lock.c


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

fixes #301: refix locking impl

Location:
branches/3.0
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0

    • Property svn:mergeinfo changed
      /trunkmerged: 1245
  • branches/3.0/xcache/xc_lock.c

    r1206 r1246  
    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.