Searched refs:mutex_t (Results 1 – 6 of 6) sorted by relevance
22 } mutex_t; typedef39 void mutex_init(mutex_t *lock);46 void mutex_lock(mutex_t *lock);53 void mutex_unlock(mutex_t *lock);62 int mutex_trylock(mutex_t *lock);
86 mutex_t open_mutex; // open()/close()操作的互斥锁
10 void mutex_init(mutex_t *lock) in mutex_init()24 static void __mutex_acquire(mutex_t *lock) in __mutex_acquire()32 void mutex_lock(mutex_t *lock) in mutex_lock()71 void mutex_unlock(mutex_t *lock) in mutex_unlock()104 int mutex_trylock(mutex_t *lock) in mutex_trylock()
138 } mutex_t;145 **`void mutex_init(mutex_t *lock)`**151 **`void mutex_lock(mutex_t *lock)`**157 **`void mutex_unlock(mutex_t *lock)`**163 **`void mutex_trylock(mutex_t *lock)`**169 **`void mutex_is_locked(mutex_t *lock)`**
19 - mutex_t
7 static mutex_t mtx;