FbxThread Class Reference
         
    
#include <fbxthread.h>
This class implement a standard way to use threads across platforms. 
Definition at line 29 of file fbxthread.h.
 
| Enumerator | 
|---|
| eUnknown  | 
 | 
| eRunning  | 
 | 
| eDead  | 
 | 
Definition at line 32 of file fbxthread.h.
 
 
| Enumerator | 
|---|
| eNone  | 
 | 
| eIdle  | 
 | 
| eLowest  | 
 | 
| eLow  | 
 | 
| eNormal  | 
 | 
| eHigh  | 
 | 
| eHighest  | 
 | 
| eRealTime  | 
 | 
Definition at line 33 of file fbxthread.h.
 
 
Constructor. 
- Parameters
 - 
  
    | pProc | The procedure called upon thread startup.  | 
    | pArg | The arguments passed to the procedure.  | 
    | pSuspend | Start the thread suspended.  | 
  
   
 
 
Constructor. 
- Parameters
 - 
  
    | pProc | The procedure called upon thread startup.  | 
    | pArg | The arguments passed to the procedure.  | 
    | pPriority | The thread priority to set upon creation.  | 
    | pSuspend | Start the thread suspended.  | 
  
   
 
 
Suspend the execution of the thread. 
- Returns
 - Return true if the thread was successfully suspended, otherwise false. 
 
 
 
Resume the execution of the thread. 
- Returns
 - Return true if the thread was successfully resumed, otherwise false. 
 
 
 
Wait for the thread completion. 
- Returns
 - True if the thread successfully returned from its procedure. 
 
 
 
Do not wait for the thread completion and terminate it. 
- Returns
 - True if the thread successfully died. 
 
 
 
Retrieve the priority of the thread. 
- Returns
 - The thread's priority. 
 
 
 
Set the thread priority. 
- Parameters
 - 
  
    | pPriority | The priority to set to this thread.  | 
  
   
- Returns
 - True if the thread priority was successfully changed. 
 
 
 
Retrieve the thread current state. 
- Returns
 - The state of the thread. 
 
 
 
The documentation for this class was generated from the following file: