Ignore:
Timestamp:
2012-12-17T18:11:58+01:00 (20 months ago)
Author:
moo
Message:

finished improve stability on threaded env

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xcache/xc_lock.h

    r1199 r1204  
    66#endif /* _MSC_VER > 1000 */ 
    77 
     8#include <stdlib.h> 
     9 
    810typedef struct _xc_lock_t xc_lock_t; 
    911 
    10 xc_lock_t *xc_lock_init(const char *pathname, int interprocess /* only with ZTS */); 
     12size_t xc_lock_size(void); 
     13xc_lock_t *xc_lock_init(xc_lock_t *lck, const char *pathname, unsigned char interprocess /* only with ZTS */); 
    1114void xc_lock_destroy(xc_lock_t *lck); 
    1215void xc_lock(xc_lock_t *lck); 
Note: See TracChangeset for help on using the changeset viewer.