P99
Related Functions
thrd_t Struct Reference

complete object type that holds an identifier for a thread More...

#include <p99_threads.h>

Related Functions

(Note that these are not 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)
void thrd_yield (void)

Detailed Description

complete object type that holds an identifier for a thread

Remarks:
Although this implementation of threads is based on POSIX, this thread id type is not compatible with POSIX pthread_t.

The use of the P99 implementation will result in all threads, even those not created through thrd_create, having a distinct object of type thrd_t as their ID. This ID is accessible through thrd_current.

Remarks:
encapsulates an object of type struct p00_thrd*
See also:
P99_ENC for access through object
P99_ENCP for access through pointer

Definition at line 104 of file p99_threads.h.


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Defines