Changeset beeb22d in git for xcache/xc_lock.h


Ignore:
Timestamp:
2012-12-17T10:18:22Z (7 years ago)
Author:
Xuefer <xuefer@…>
Branches:
3.0, 3.1, 3.2, master, trunk
Children:
b60f751
Parents:
e140327
Message:

fix for ZTS

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1199 c26eb9a1-5813-0410-bd6c-c2e55f420ca7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • xcache/xc_lock.h

    r12e8dc0 rbeeb22d  
    88typedef struct _xc_lock_t xc_lock_t;
    99
    10 xc_lock_t *xc_fcntl_init(const char *pathname);
    11 void xc_fcntl_destroy(xc_lock_t *lck);
    12 void xc_fcntl_lock(xc_lock_t *lck);
    13 void xc_fcntl_unlock(xc_lock_t *lck);
    14 
    15 #define xc_lock_init(name)  xc_fcntl_init(name)
    16 #define xc_lock_destroy(fd) xc_fcntl_destroy(fd)
    17 #define xc_lock(fd)         xc_fcntl_lock(fd)
    18 #define xc_unlock(fd)       xc_fcntl_unlock(fd)
     10xc_lock_t *xc_lock_init(const char *pathname, int interprocess /* only with ZTS */);
     11void xc_lock_destroy(xc_lock_t *lck);
     12void xc_lock(xc_lock_t *lck);
     13void xc_unlock(xc_lock_t *lck);
    1914
    2015#endif /* XC_LOCK_H_1913F3DED68715D7CDA5A055E79FE0FF */
Note: See TracChangeset for help on using the changeset viewer.