#include <UThreadC.h>
Classes | |
struct | Instance |
Public Types | |
typedef THREAD_HANDLE | Handle |
typedef THREAD_HANDLE | Handle |
typedef void(* | Handler) (Thread_R) |
typedef void(* | Handler) (Thread_R) |
typedef Thread_T & | Thread_R |
typedef Thread_T & | Thread_R |
Public Member Functions | |
int | Create (Thread_C_R Param, Handle *const &H=0, const bool &CreateDetached=false, const unsigned int &StackSize=0, const bool &CancelEnable=false, const bool &CancelAsync=false) const |
int | Create (Thread_C_R Param, Handle *const &H=0, const bool &CreateDetached=false, const unsigned int &StackSize=0, const bool &CancelEnable=false, const bool &CancelAsync=false) const |
virtual | ~UThreadC () |
Static Public Member Functions | |
static int | Create (const Handler &Function, Thread_C_R Param, Handle *const &H=0, const bool &CreateDetached=false, const unsigned int &StackSize=0, const bool &CancelEnable=false, const bool &CancelAsync=false) |
static int | Create (const Handler &Function, Thread_C_R Param, Handle *const &H=0, const bool &CreateDetached=false, const unsigned int &StackSize=0, const bool &CancelEnable=false, const bool &CancelAsync=false) |
static int | Detach (const Handle &H) |
static int | Detach (Handle H) |
static int | Join (const Handle &H) |
static int | Join (Handle H) |
static int | Kill (const Handle &H) |
static int | Kill (Handle H) |
Public Attributes | |
const typedef Thread_T & | Thread_C_R |
Protected Member Functions | |
virtual void | ThreadMain (Thread_R)=0 |
virtual void | ThreadMain (Thread_R)=0 |
UThreadC () | |
UThreadC () | |
Static Protected Member Functions | |
static void | Exit () |
static void | Exit () |
static Handle | Self () |
static int | Self () |
static void | TestCancel () |
static void | TestCancel () |
Static Private Member Functions | |
static const UMutex & | M_Create () |
static const UMutex & | M_Create () |
static USemaphore & | S_Create () |
static const USemaphore & | S_Create () |
static void * | ThreadMainHandler (Instance *Param) |
static THREAD_RET_T THREAD_CALL | ThreadMainHandler (Instance *Param) |
Definition at line 66 of file Posix/UThreadC.h.
typedef THREAD_HANDLE UThreadC< Thread_T >::Handle |
Definition at line 75 of file Posix/UThreadC.h.
typedef THREAD_HANDLE UThreadC< Thread_T >::Handle |
Definition at line 100 of file Win32/UThreadC.h.
Definition at line 76 of file Posix/UThreadC.h.
Definition at line 101 of file Win32/UThreadC.h.
Definition at line 69 of file Posix/UThreadC.h.
Definition at line 94 of file Win32/UThreadC.h.
Definition at line 78 of file Posix/UThreadC.h.
Definition at line 81 of file Posix/UThreadC.h.
Definition at line 104 of file Win32/UThreadC.h.
|
inlinestatic |
Definition at line 97 of file Posix/UThreadC.h.
|
inlinestatic |
Definition at line 126 of file Win32/UThreadC.h.
|
inline |
Definition at line 131 of file Posix/UThreadC.h.
|
inline |
Definition at line 158 of file Win32/UThreadC.h.
|
inlinestatic |
Definition at line 206 of file Win32/UThreadC.h.
Definition at line 172 of file Posix/UThreadC.h.
|
inlinestaticprotected |
Definition at line 85 of file Posix/UThreadC.h.
|
inlinestaticprotected |
Definition at line 108 of file Win32/UThreadC.h.
Definition at line 189 of file Win32/UThreadC.h.
Definition at line 164 of file Posix/UThreadC.h.
Definition at line 203 of file Win32/UThreadC.h.
Definition at line 168 of file Posix/UThreadC.h.
|
inlinestaticprivate |
Definition at line 177 of file Posix/UThreadC.h.
|
inlinestaticprivate |
Definition at line 211 of file Win32/UThreadC.h.
|
inlinestaticprivate |
Definition at line 178 of file Posix/UThreadC.h.
|
inlinestaticprivate |
Definition at line 212 of file Win32/UThreadC.h.
Definition at line 92 of file Posix/UThreadC.h.
Definition at line 114 of file Win32/UThreadC.h.
|
inlinestaticprotected |
Definition at line 88 of file Posix/UThreadC.h.
|
inlinestaticprotected |
Definition at line 111 of file Win32/UThreadC.h.
|
protectedpure virtual |
|
protectedpure virtual |
|
inlinestaticprivate |
Definition at line 180 of file Posix/UThreadC.h.
|
inlinestaticprivate |
Definition at line 214 of file Win32/UThreadC.h.
const typedef Thread_T & UThreadC< Thread_T >::Thread_C_R |
Definition at line 73 of file Posix/UThreadC.h.