• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/toolchains/hndtools-armeabi-2013.11/arm-none-eabi/include/sys/
1#ifndef __SYS_LOCK_H__
2#define __SYS_LOCK_H__
3
4/* dummy lock routines for single-threaded aps */
5
6typedef int _LOCK_T;
7typedef int _LOCK_RECURSIVE_T;
8
9#include <_ansi.h>
10
11#define __LOCK_INIT(class,lock) static int lock = 0;
12#define __LOCK_INIT_RECURSIVE(class,lock) static int lock = 0;
13#define __lock_init(lock) (_CAST_VOID 0)
14#define __lock_init_recursive(lock) (_CAST_VOID 0)
15#define __lock_close(lock) (_CAST_VOID 0)
16#define __lock_close_recursive(lock) (_CAST_VOID 0)
17#define __lock_acquire(lock) (_CAST_VOID 0)
18#define __lock_acquire_recursive(lock) (_CAST_VOID 0)
19#define __lock_try_acquire(lock) (_CAST_VOID 0)
20#define __lock_try_acquire_recursive(lock) (_CAST_VOID 0)
21#define __lock_release(lock) (_CAST_VOID 0)
22#define __lock_release_recursive(lock) (_CAST_VOID 0)
23
24#endif /* __SYS_LOCK_H__ */
25