OpenDOF Project
Files | Typedefs | Functions
PCRThread

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

PCRThread PCRThread_Create (PCRThreadCall threadFunc, void *threadParam)
 Create and start a new running thread.
 
PCRStatus PCRThread_Join (PCRThread thread)
 Wait for a thread to finish running and cleanup.
 
PCRStatus PCRThread_Yield (void)
 Yield the calling thread to the OS.
 
void PCRThread_Sleep (uint32 mseconds)
 Sleep the calling thread for a specified amount of time.
 
void PCRThread_Destroy (PCRThread thread)
 Free the resources associated with a thread.
 

Detailed Description

Common system-level thread operations.

core-c-dof-pcr-dev Version 7.0.1 Build 0
2017-04-11