|
KallistiOS git master
Independent SDK for the Sega Dreamcast
|
C11 Threading APIs More...
Files | |
| file | _threads.h |
| C11 Threading API. | |
Macros | |
| #define | ONCE_FLAG_INIT KTHREAD_ONCE_INIT |
| Macro to initialize a once_flag object. | |
| #define | TSS_DTOR_ITERATIONS 1 |
| Maximum number of iterations over TSS destructors. | |
Typedefs | |
| typedef kthread_once_t | once_flag |
| Object type backing call_once. | |
| typedef mutex_t | mtx_t |
| C11 mutual exclusion lock type. | |
| typedef condvar_t | cnd_t |
| C11 condition variable type. | |
| typedef kthread_t * | thrd_t |
| C11 thread identifier type. | |
| typedef kthread_key_t | tss_t |
| C11 thread-specific storage type. | |
C11 Threading APIs
| #define ONCE_FLAG_INIT KTHREAD_ONCE_INIT |
Macro to initialize a once_flag object.
| #define TSS_DTOR_ITERATIONS 1 |
Maximum number of iterations over TSS destructors.
This macro defines the maximum number of iterations that will be performed over the destructors for thread-specific storage objects when a thread terminates.
C11 condition variable type.
This type holds an identifier for a condition variable object that is to be used with C11 threading support.
C11 mutual exclusion lock type.
This type holds an identifier for a mutual exclusion (mutex) lock to be used with C11 threading support.
| typedef kthread_once_t once_flag |
Object type backing call_once.
This object type holds a flag that is used by the call_once function to call a function one time. It should always be initialized with the ONCE_FLAG_INIT macro.
C11 thread identifier type.
This type holds an identifier for a C11 thread.
| typedef kthread_key_t tss_t |
C11 thread-specific storage type.
This type holds a thread-specific storage identifier, which allows a value to be associated with it for each and every thread running.