xbmc
Public Types | Public Member Functions | Static Public Member Functions | List of all members
NPT_Thread Class Reference
Inheritance diagram for NPT_Thread:
Inheritance graph
[legend]
Collaboration diagram for NPT_Thread:
Collaboration graph
[legend]

Public Types

typedef NPT_UInt64 ThreadId
 

Public Member Functions

 NPT_Thread (bool detached=false)
 
 NPT_Thread (NPT_Runnable &target, bool detached=false)
 
NPT_Result CancelBlockerSocket () override
 
NPT_Result Start () override
 
NPT_Result Wait (NPT_Timeout timeout=NPT_TIMEOUT_INFINITE) override
 
NPT_Result SetPriority (int priority) override
 
NPT_Result GetPriority (int &priority) override
 
void Run () override
 
NPT_Result Interrupt () override
 

Static Public Member Functions

static ThreadId GetCurrentThreadId ()
 
static NPT_Result SetCurrentThreadPriority (int priority)
 
static NPT_Result GetCurrentThreadPriority (int &priority)
 

The documentation for this class was generated from the following files: