147 return l4_pi_mutex_lock_u(mutex, timeout,
l4_utcb());
153 return l4_pi_mutex_unlock_u(mutex,
l4_utcb());
unsigned long l4_cap_idx_t
Capability selector type.
l4_msgtag_t l4_ipc_call(l4_cap_idx_t object, l4_utcb_t *utcb, l4_msgtag_t tag, l4_timeout_t timeout) L4_NOTHROW
Object call (usual invocation).
l4_msgtag_t l4_msgtag(long label, unsigned words, unsigned items, unsigned flags) L4_NOTHROW
Create a message tag from the specified values.
@ L4_PROTO_PI_MUTEX
Protocol for priority inheritance mutex.
l4_msgtag_t l4_pi_mutex_unlock(l4_cap_idx_t mutex) L4_NOTHROW
Unlock contended priority inheritance mutex from fast path or slow path.
l4_msgtag_t l4_pi_mutex_lock(l4_cap_idx_t mutex, l4_timeout_t timeout) L4_NOTHROW
Lock contended priority inheritance mutex on slow path.
L4_pi_mutex_ops
Operations on priority inheritance mutex objects.
@ L4_PI_MUTEX_LOCK_OP
Lock mutex.
@ L4_PI_MUTEX_UNLOCK_OP
Unlock mutex.
#define L4_IPC_NEVER
never timeout
struct l4_utcb_t l4_utcb_t
Opaque type for the UTCB.
l4_utcb_t * l4_utcb(void) L4_NOTHROW L4_PURE
Get the UTCB address.
#define L4_NOTHROW
Mark a function declaration and definition as never throwing an exception.
#define L4_INLINE
L4 Inline function attribute.
Common L4 ABI Data Types.
Message tag data structure.
Encapsulation of the message-register block in the UTCB.
l4_umword_t mr[L4_UTCB_GENERIC_DATA_SIZE]
Message registers.