43 typedef pthread_mutex_t edge_mutex_t;
int32_t edge_mutex_lock(edge_mutex_t *mutex)
Locks the mutex.
int32_t edge_mutex_destroy(edge_mutex_t *mutex)
Destroys a mutex. The user is responsible to deallocate the memory for the mutex structure.
int32_t edge_mutex_init(edge_mutex_t *mutex, int32_t type)
Initializes a mutex.
int32_t edge_mutex_unlock(edge_mutex_t *mutex)
Unlocks the mutex.