|
Last change
on this file since 1199 was
1199,
checked in by moo, 5 months ago
|
|
fix for ZTS
|
-
Property svn:eol-style set to
native
|
|
File size:
446 bytes
|
| Line | |
|---|
| 1 | #ifndef XC_LOCK_H_1913F3DED68715D7CDA5A055E79FE0FF |
|---|
| 2 | #define XC_LOCK_H_1913F3DED68715D7CDA5A055E79FE0FF |
|---|
| 3 | |
|---|
| 4 | #if _MSC_VER > 1000 |
|---|
| 5 | #pragma once |
|---|
| 6 | #endif /* _MSC_VER > 1000 */ |
|---|
| 7 | |
|---|
| 8 | typedef struct _xc_lock_t xc_lock_t; |
|---|
| 9 | |
|---|
| 10 | xc_lock_t *xc_lock_init(const char *pathname, int interprocess /* only with ZTS */); |
|---|
| 11 | void xc_lock_destroy(xc_lock_t *lck); |
|---|
| 12 | void xc_lock(xc_lock_t *lck); |
|---|
| 13 | void xc_unlock(xc_lock_t *lck); |
|---|
| 14 | |
|---|
| 15 | #endif /* XC_LOCK_H_1913F3DED68715D7CDA5A055E79FE0FF */ |
|---|
Note: See
TracBrowser
for help on using the repository browser.