#include <errno.h>
#include <stdatomic.h>
#include <stdbool.h>
#include <sys/proc.h>
#include <threads.h>
Go to the source code of this file.
◆ _MTX_SPIN_COUNT
| #define _MTX_SPIN_COUNT 100 |
◆ _THREADS_MAX
| #define _THREADS_MAX 2048 |
◆ _THREAD_ATTACHED
| #define _THREAD_ATTACHED 1 |
◆ _THREAD_DETACHED
| #define _THREAD_DETACHED 2 |
◆ _THREAD_JOINING
| #define _THREAD_JOINING 3 |
◆ _THREAD_EXITED
◆ _thread_t
◆ _thread_entry_t
| typedef void(* _thread_entry_t) (_thread_t *) |
◆ _threading_init()
| void _threading_init |
( |
void |
| ) |
|
◆ _thread_new()
◆ _thread_free()
◆ _thread_get()