Chapter 11. Mutex API reference

Table of Contents

mutex_init - initialize the mutex
mutex_is_locked - is the mutex locked
mutex_lock - acquire the mutex
mutex_unlock - release the mutex
mutex_lock_interruptible - acquire the mutex, interruptible
mutex_trylock - try to acquire the mutex, without waiting
atomic_dec_and_mutex_lock - return holding mutex if we dec to 0