Common system-level thread operations. More...
Files | |
| file | pcr.h |
| Header file for the Portable C Runtime functions, defines and data types. | |
Typedefs | |
| typedef struct PCRThread_t * | PCRThread |
| Represents an allocated thread. | |
| typedef void(* | PCRThreadCall )(void *) |
| A runnable thread function. | |
Functions | |
| DOF_PCR_DECLSPEC PCRThread | PCRThread_Create (PCRThreadCall threadFunc, void *threadParam) |
| Create and start a new running thread. | |
| DOF_PCR_DECLSPEC PCRStatus | PCRThread_Join (PCRThread thread) |
| Wait for a thread to finish running and cleanup. | |
| DOF_PCR_DECLSPEC PCRStatus | PCRThread_Yield (void) |
| Yield the calling thread to the OS. | |
| DOF_PCR_DECLSPEC void | PCRThread_Sleep (uint32 mseconds) |
| Sleep the calling thread for a specified amount of time. | |
| DOF_PCR_DECLSPEC void | PCRThread_Destroy (PCRThread thread) |
| Free the resources associated with a thread. | |
Common system-level thread operations.