23 #ifndef __KOS_RECURSIVE_LOCK_H
24 #define __KOS_RECURSIVE_LOCK_H
26 #include <sys/cdefs.h>
90 __attribute__((deprecated));
int rlock_lock_timed(recursive_lock_t *l, int timeout) __attribute__((deprecated))
Lock a recursive lock (with a timeout).
int rlock_unlock(recursive_lock_t *l) __attribute__((deprecated))
Unlock a recursive lock.
recursive_lock_t * rlock_create() __attribute__((deprecated))
Allocate a new recursive lock.
mutex_t recursive_lock_t
Recursive lock structure.
Definition: recursive_lock.h:39
void rlock_destroy(recursive_lock_t *l) __attribute__((deprecated))
Destroy a recursive lock.
int rlock_is_locked(recursive_lock_t *l) __attribute__((deprecated))
Check if a recursive lock is currently held by any thread.
Mutual exclusion lock type.
Definition: mutex.h:70
int rlock_lock(recursive_lock_t *l) __attribute__((deprecated))
Lock a recursive lock.
int rlock_trylock(recursive_lock_t *l) __attribute__((deprecated))
Attempt to lock a recursive lock without blocking.