Files
device_rockchip/oem/aispeech-2mic-32bit/dds_client/include/os_mutex.h
Eddie Cai a9b1646861 rk3308: move aispeech and dueros to oem directory
Change-Id: I05b909636d54cb75ff1e4382ade3de8088066d3e
Signed-off-by: Eddie Cai <eddie.cai.linux@gmail.com>
2018-08-18 21:01:53 +08:00

18 lines
483 B
C
Executable File

#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