source: git/xcache/xc_lock.h @ beeb22d

3.03.13.2trunk
Last change on this file since beeb22d was beeb22d, checked in by Xuefer <xuefer@…>, 7 years ago

fix for ZTS

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

  • Property mode set to 100644
File size: 446 bytes
RevLine 
[43c2392]1#ifndef XC_LOCK_H_1913F3DED68715D7CDA5A055E79FE0FF
2#define XC_LOCK_H_1913F3DED68715D7CDA5A055E79FE0FF
3
4#if _MSC_VER > 1000
5#pragma once
[12e8dc0]6#endif /* _MSC_VER > 1000 */
[43c2392]7
[4389208]8typedef struct _xc_lock_t xc_lock_t;
9
[beeb22d]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);
[43c2392]14
15#endif /* XC_LOCK_H_1913F3DED68715D7CDA5A055E79FE0FF */
Note: See TracBrowser for help on using the repository browser.