Lines Matching defs:mutex
40 typedef struct mutex {
50 } mutex;
56 mutex lock;
150 extern void mutex_init(mutex* lock, const char* name);
152 extern void mutex_init_etc(mutex* lock, const char* name, uint32 flags);
153 extern void mutex_destroy(mutex* lock);
154 extern status_t mutex_switch_lock(mutex* from, mutex* to);
159 extern status_t mutex_switch_from_read_lock(rw_lock* from, mutex* to);
172 extern status_t _mutex_lock(mutex* lock, bool threadsLocked);
173 extern void _mutex_unlock(mutex* lock, bool threadsLocked);
174 extern status_t _mutex_trylock(mutex* lock);
175 extern status_t _mutex_lock_with_timeout(mutex* lock, uint32 timeoutFlags,
229 mutex_lock(mutex* lock)
242 mutex_lock_threads_locked(mutex* lock)
255 mutex_trylock(mutex* lock)
268 mutex_lock_with_timeout(mutex* lock, uint32 timeoutFlags, bigtime_t timeout)
281 mutex_unlock(mutex* lock)
291 mutex_transfer_lock(mutex* lock, thread_id thread)