#include <l4/env/cdefs.h>
#include <l4/semaphore/semaphore.h>
#include <l4/lock/types.h>
Go to the source code of this file.
Functions | |
L4_INLINE void | l4lock_lock (l4lock_t *lock) |
Occupy lock. | |
L4_INLINE int | l4lock_try_lock (l4lock_t *lock) |
Try to occupy lock, return error if lock already owned by someone else. | |
L4_INLINE void | l4lock_unlock (l4lock_t *lock) |
Release lock. | |
L4_INLINE l4thread_t | l4lock_owner (const l4lock_t *lock) |
Return lock owner. |
Definition in file lock.h.