81 [[noreturn]]
static void exit(
void *);
195 static void *threadFunc(
void *);
static fd_set FAR fd_set FAR fd_set FAR const struct timeval FAR * timeout
Definition ArchNetworkWinsock.cpp:39
ArchThreadImpl * ArchThread
Opaque thread type. An opaque type representing a thread.
Definition IArchMultithread.h:53
unsigned int ThreadID
Type of thread identifier.
Definition IArchMultithread.h:66
Job interface.
Definition IJob.h:17
Thread(IJob *adoptedJob)
Run adoptedJob in a new thread.
Definition Thread.cpp:21
~Thread()
Release a thread handle.
Definition Thread.cpp:41
static void exit(void *)
Terminate the calling thread.
Definition Thread.cpp:58
void unblockPollSocket()
Force pollSocket() to return.
Definition Thread.cpp:73
static Thread getCurrentThread()
Get current thread's handle.
Definition Thread.cpp:78
IArchMultithread::ThreadID getID() const
Get the thread id.
Definition Thread.cpp:101
bool operator==(const Thread &) const
Compare thread handles.
Definition Thread.cpp:106
bool wait(double timeout=-1.0) const
Wait for thread to terminate.
Definition Thread.cpp:88
void setPriority(int n)
Change thread priority.
Definition Thread.cpp:68
Thread & operator=(const Thread &)
Assign thread handle.
Definition Thread.cpp:46
void cancel()
Cancel thread.
Definition Thread.cpp:63
bool operator!=(const Thread &) const
Compare thread handles.
Definition Thread.cpp:111
static void testCancel()
Test for cancellation.
Definition Thread.cpp:83
void * getResult() const
Get the exit result.
Definition Thread.cpp:93