This commit was generated by cvs2svn to compensate for changes in r4,
which included commits to RCS files with non-trunk default branches. git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@5 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
17
H/nolocks.h
Normal file
17
H/nolocks.h
Normal file
@@ -0,0 +1,17 @@
|
||||
/* ----------------------------- **
|
||||
** no locks **
|
||||
** ----------------------------- */
|
||||
|
||||
#define INIT_LOCK(LOCK_VAR)
|
||||
#define LOCK(LOCK_VAR)
|
||||
#define UNLOCK(LOCK_VAR)
|
||||
#define IS_LOCKED(LOCK_VAR)
|
||||
#define IS_UNLOCKED(LOCK_VAR)
|
||||
|
||||
#define READ_LOCK(RWLOCK_VAR)
|
||||
#define READ_UNLOCK(RWLOCK_VAR)
|
||||
#define WRITE_LOCK(RWLOCK_VAR) YAPEnterCriticalSection()
|
||||
#define WRITE_UNLOCK(RWLOCK_VAR) YAPLeaveCriticalSection()
|
||||
#define INIT_RWLOCK(RWLOCK_VAR)
|
||||
|
||||
|
Reference in New Issue
Block a user