KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
Deprecated List
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.
Global INIT_THD_PREEMPT
Already default mode
File iovec.h
Global kbd_get_key (void)
Global kbd_set_queue (int active)
Global kthread_mode_t
Only preemptive scheduling is still supported!
Global mutex_create (void) __depr("Use mutex_init or an initializer.")
This function allocates and initializes a new mutex for use. This function will always create mutexes of the type MUTEX_TYPE_NORMAL.
File recursive_lock.h
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.
Global thd_get_mode (void) __deprecated
This is now deprecated.
Global THD_MODE_COOP
Global thd_set_mode (kthread_mode_t mode) __deprecated
This is now deprecated