#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 const Thread_T & | Thread_C_R |
typedef const Thread_T & | Thread_C_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 (Handle H) |
static int | Detach (const Handle &H) |
static int | Join (Handle H) |
static int | Join (const Handle &H) |
static int | Kill (Handle H) |
static int | Kill (const Handle &H) |
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 99 of file Win32/UThreadC.h.
Definition at line 76 of file Posix/UThreadC.h.
Definition at line 100 of file Win32/UThreadC.h.
typedef const Thread_T& UThreadC< Thread_T >::Thread_C_R |
Definition at line 73 of file Posix/UThreadC.h.
typedef const Thread_T& UThreadC< Thread_T >::Thread_C_R |
Definition at line 97 of file Win32/UThreadC.h.
Definition at line 69 of file Posix/UThreadC.h.
Definition at line 93 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 103 of file Win32/UThreadC.h.
|
inlinestatic |
Definition at line 97 of file Posix/UThreadC.h.
|
inlinestatic |
Definition at line 125 of file Win32/UThreadC.h.
|
inline |
Definition at line 131 of file Posix/UThreadC.h.
|
inline |
Definition at line 157 of file Win32/UThreadC.h.
Definition at line 172 of file Posix/UThreadC.h.
|
inlinestatic |
Definition at line 205 of file Win32/UThreadC.h.
|
inlinestaticprotected |
Definition at line 85 of file Posix/UThreadC.h.
|
inlinestaticprotected |
Definition at line 107 of file Win32/UThreadC.h.
Definition at line 164 of file Posix/UThreadC.h.
Definition at line 188 of file Win32/UThreadC.h.
Definition at line 168 of file Posix/UThreadC.h.
Definition at line 202 of file Win32/UThreadC.h.
|
inlinestaticprivate |
Definition at line 177 of file Posix/UThreadC.h.
|
inlinestaticprivate |
Definition at line 210 of file Win32/UThreadC.h.
|
inlinestaticprivate |
Definition at line 178 of file Posix/UThreadC.h.
|
inlinestaticprivate |
Definition at line 211 of file Win32/UThreadC.h.
Definition at line 92 of file Posix/UThreadC.h.
|
inlinestaticprotected |
Definition at line 113 of file Win32/UThreadC.h.
|
inlinestaticprotected |
Definition at line 88 of file Posix/UThreadC.h.
|
inlinestaticprotected |
Definition at line 110 of file Win32/UThreadC.h.
|
protectedpure virtual |
|
protectedpure virtual |
|
inlinestaticprivate |
Definition at line 180 of file Posix/UThreadC.h.
|
inlinestaticprivate |
Definition at line 213 of file Win32/UThreadC.h.