P99

◆ P99_ENC_DECLARE() [3/3]

P99_ENC_DECLARE ( struct p00_thrd *  ,
thrd_t   
)

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.