forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-02-19 890e1df1bec891d9203724541e81f8fbe5183388
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef OS_MUTEX_H
#define OS_MUTEX_H
#ifdef __cplusplus
extern "C" {
#endif
 
typedef struct os_mutex* os_mutex_handle_t;
 
__attribute ((visibility("default"))) os_mutex_handle_t os_mutex_create();
__attribute ((visibility("default"))) int os_mutex_lock(os_mutex_handle_t self);
__attribute ((visibility("default"))) int os_mutex_unlock(os_mutex_handle_t self);
__attribute ((visibility("default"))) void os_mutex_destroy(os_mutex_handle_t self);
 
#ifdef __cplusplus
}
#endif
#endif