#include "OW_config.h"
#include "OW_Types.hpp"
#include "OW_ThreadTypes.hpp"
Include dependency graph for OW_ThreadImpl.hpp:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Namespaces | |
namespace | OW_NAMESPACE |
namespace | OW_NAMESPACE::ThreadImpl |
Defines | |
#define | OW_THREAD_FLG_JOINABLE 0x000000001 |
Typedefs | |
typedef Int32(* | OW_NAMESPACE::ThreadFunction )(void *) |
Functions | |
int | OW_NAMESPACE::ThreadImpl::createThread (Thread_t &handle, ThreadFunction func, void *funcParm, UInt32 threadFlags) |
Starts a thread running the given function. | |
void | OW_NAMESPACE::ThreadImpl::destroyThread (Thread_t &handle) |
Destroy any resources associated with a thread that was created with the createThread method. | |
bool | OW_NAMESPACE::ThreadImpl::sameThreads (const volatile Thread_t &handle1, const volatile Thread_t &handle2) |
Check two platform dependant thread types for equality. | |
void | OW_NAMESPACE::ThreadImpl::exitThread (Thread_t &handle, Int32 rval) |
Exit thread method. | |
Thread_t | OW_NAMESPACE::ThreadImpl::currentThread () |
UInt64 | OW_NAMESPACE::ThreadImpl::thread_t_ToUInt64 (Thread_t thr) |
Convert a Thread_t to an UInt64. | |
int | OW_NAMESPACE::ThreadImpl::setThreadDetached (Thread_t &handle) |
Set a thread that was previously in the joinable state to a detached state. | |
int | OW_NAMESPACE::ThreadImpl::joinThread (Thread_t &handle, Int32 &rval) |
Join a thread that has been previously set to joinable. | |
void | OW_NAMESPACE::ThreadImpl::yield () |
Voluntarily yield to the processor giving the next thread in the chain the opportunity to run. | |
void | OW_NAMESPACE::ThreadImpl::sleep (UInt32 milliSeconds) |
Suspend execution of the current thread until the given number of milliSeconds have elapsed. | |
void | OW_NAMESPACE::ThreadImpl::memoryBarrier () |
Deprecated because no code should need to use this, and if some does it should be rewritten to use the other thread primitives. | |
void | OW_NAMESPACE::ThreadImpl::testCancel () |
Test if this thread has been cancelled. | |
void | OW_NAMESPACE::ThreadImpl::saveThreadInTLS (void *pTheThread) |
void | OW_NAMESPACE::ThreadImpl::sendSignalToThread (Thread_t threadID, int signo) |
void | OW_NAMESPACE::ThreadImpl::cancel (Thread_t threadID) |
|
Definition at line 51 of file OW_ThreadImpl.hpp. Referenced by OW_NAMESPACE::ThreadImpl::createThread(), and OW_NAMESPACE::Thread::start(). |