diff options
Diffstat (limited to 'Unix/i686-elf/include/sys/lock.h')
-rw-r--r-- | Unix/i686-elf/include/sys/lock.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/Unix/i686-elf/include/sys/lock.h b/Unix/i686-elf/include/sys/lock.h deleted file mode 100644 index c05814a..0000000 --- a/Unix/i686-elf/include/sys/lock.h +++ /dev/null @@ -1,22 +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; - -#define __LOCK_INIT(class,lock) static int lock = 0; -#define __LOCK_INIT_RECURSIVE(class,lock) static int lock = 0; -#define __lock_init(lock) (0) -#define __lock_init_recursive(lock) (0) -#define __lock_close(lock) (0) -#define __lock_close_recursive(lock) (0) -#define __lock_acquire(lock) (0) -#define __lock_acquire_recursive(lock) (0) -#define __lock_try_acquire(lock) (0) -#define __lock_try_acquire_recursive(lock) (0) -#define __lock_release(lock) (0) -#define __lock_release_recursive(lock) (0) - -#endif /* __SYS_LOCK_H__ */ |