lock.h

来自「这是leon3处理器的交叉编译链」· C头文件 代码 · 共 23 行

H
23
字号
#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__ */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?