diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-09-24 18:41:07 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-09-24 18:41:07 -0700 |
commit | f2a8bdc4c3bd88cb6a9ff85c4f2c43e9b9f77b97 (patch) | |
tree | 172b11e658bf266a001050bf90a029c36ac97bd2 /system/include/sys/lock.h | |
parent | 1c8b4752414132e27abc608dda7db8dc0268f73a (diff) |
reorganize system/include
Diffstat (limited to 'system/include/sys/lock.h')
-rw-r--r-- | system/include/sys/lock.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/system/include/sys/lock.h b/system/include/sys/lock.h deleted file mode 100644 index 9075e35c..00000000 --- a/system/include/sys/lock.h +++ /dev/null @@ -1,24 +0,0 @@ -#ifndef __SYS_LOCK_H__ -#define __SYS_LOCK_H__ - -/* dummy lock routines for single-threaded aps */ - -typedef int _LOCK_T; -typedef int _LOCK_RECURSIVE_T; - -#include <_ansi.h> - -#define __LOCK_INIT(class,lock) static int lock = 0; -#define __LOCK_INIT_RECURSIVE(class,lock) static int lock = 0; -#define __lock_init(lock) (_CAST_VOID 0) -#define __lock_init_recursive(lock) (_CAST_VOID 0) -#define __lock_close(lock) (_CAST_VOID 0) -#define __lock_close_recursive(lock) (_CAST_VOID 0) -#define __lock_acquire(lock) (_CAST_VOID 0) -#define __lock_acquire_recursive(lock) (_CAST_VOID 0) -#define __lock_try_acquire(lock) (_CAST_VOID 0) -#define __lock_try_acquire_recursive(lock) (_CAST_VOID 0) -#define __lock_release(lock) (_CAST_VOID 0) -#define __lock_release_recursive(lock) (_CAST_VOID 0) - -#endif /* __SYS_LOCK_H__ */ |