|
P99
|
complete object type that holds an identifier for a thread More...
#include <p99_threads.h>
Public Member Functions | |
| int | thrd_create (thrd_t *p00_thr, thrd_start_t p00_func, void *p00_arg) |
| thrd_t | thrd_current (void) |
| int | thrd_detach (thrd_t p00_thr) |
| int | thrd_equal (thrd_t p00_thr0, thrd_t p00_thr1) |
| void | thrd_exit (int p00_res) |
| int | thrd_join (thrd_t p00_thr, int *p00_res) |
| int | thrd_sleep (const struct timespec *p00_duration, struct timespec *p00_remaining) |
| void | thrd_yield (void) |
complete object type that holds an identifier for a thread
pthread_t.As soon as you use this implementation here, all threads even if they are not created through thrd_create will have a distinct such thrd_t as their ID. This ID is accessible through thrd_current.
Definition at line 100 of file p99_threads.h.
1.7.6.1