sys_sem.h
来自「abstract rtos」· C头文件 代码 · 共 31 行
H
31 行
#ifdef __cplusplusextern "C"{#endif #ifndef __INC_SYS_SEM_H__#define __INC_SYS_SEM_H__typedef SEM_ID SYS_SEM_T;AOS_INLINE U32 sys_sem_create( S8 name[AOS_NAME_LEN+1], U32 flags, U32 value, SYS_SEM_T *sem );AOS_INLINE U32 sys_sem_cancel(SYS_SEM_T *sem);AOS_INLINE U32 sys_sem_wait( SYS_SEM_T *sem, U32 time_out );AOS_INLINE U32 sys_sem_trywait( SYS_SEM_T *sem );AOS_INLINE U32 sys_sem_post( SYS_SEM_T *sem );#endif#ifdef __cplusplus}#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?