Global __depr ("Please use the new THD_SCHED_HZ macro.")
Global cond_create () __depr("Use cond_init or COND_INITIALIZER.")
This function is formally deprecated and should not be used in new code. Instead you should use either the static initializer or the cond_init() function.
These are now just wrappers around the MUTEX_TYPE_RECURSIVE that is now provided and will be removed at some point in the future. Please update your code to use that type instead.
Global rlock_create (void) __depr("Use mutexes instead.")
This function allocates a new recursive lock that is initially not locked.
Global rlock_destroy (recursive_lock_t *l) __depr("Use mutexes instead.")
This function cleans up a recursive lock. It is an error to attempt to destroy a locked recursive lock.
Global rlock_is_locked (recursive_lock_t *l) __depr("Use mutexes instead.")
This function checks whether or not a lock is currently held by any thread, including the calling thread. Note that this is NOT a safe way to check if a lock will be held by the time you get around to locking it.
Global rlock_lock (recursive_lock_t *l) __depr("Use mutexes instead.")
This function attempts to lock the requested lock, and if it cannot it will block until that is possible.
Global rlock_lock_timed (recursive_lock_t *l, int timeout) __depr("Use mutexes instead.")
This function attempts to lock the requested lock, and if it cannot it will block until either it is possible to acquire the lock or timeout milliseconds have elapsed.
Global rlock_trylock (recursive_lock_t *l) __depr("Use mutexes instead.")
This function attempts to lock a recursive lock without blocking. This function, unlike rlock_lock and rlock_lock_timed is safe to call inside an interrupt.
Global rlock_unlock (recursive_lock_t *l) __depr("Use mutexes instead.")
This function releases the lock one time from the current thread.
Global rwsem_create (void) __depr("Use rwsem_init or RWSEM_INITIALIZER.")
This function is formally deprecated, and should not be used in newly written code. Instead, please use rwsem_init().
Global sem_create (int value) __depr("Use sem_init or SEM_INITIALIZER.")
This function is formally deprecated. Please update your code to use sem_init() or static initialization with SEM_INITIALIZER instead.