blocxx
|
#include "blocxx/BLOCXX_config.h"
#include "blocxx/Types.hpp"
#include "blocxx/ThreadTypes.hpp"
#include "blocxx/Timeout.hpp"
Go to the source code of this file.
Namespaces | |
namespace | BLOCXX_NAMESPACE |
Taken from RFC 1321. | |
namespace | BLOCXX_NAMESPACE::ThreadImpl |
The ThreadImpl namespace represents the functionality needed by the BloCxx Thread class (Thread). | |
Defines | |
#define | BLOCXX_THREAD_FLG_JOINABLE 0x000000001 |
Typedefs | |
typedef Int32(* | BLOCXX_NAMESPACE::ThreadFunction )(void *) |
Functions | |
BLOCXX_COMMON_API int | BLOCXX_NAMESPACE::ThreadImpl::createThread (Thread_t &handle, ThreadFunction func, void *funcParm, UInt32 threadFlags) |
Starts a thread running the given function. | |
BLOCXX_COMMON_API void | BLOCXX_NAMESPACE::ThreadImpl::destroyThread (Thread_t &handle) |
Destroy any resources associated with a thread that was created with the createThread method. | |
bool | BLOCXX_NAMESPACE::ThreadImpl::sameThreads (const volatile Thread_t &handle1, const volatile Thread_t &handle2) |
Check two platform dependant thread types for equality. | |
BLOCXX_COMMON_API void | BLOCXX_NAMESPACE::ThreadImpl::exitThread (Thread_t &handle, Int32 rval) |
Exit thread method. | |
Thread_t | BLOCXX_NAMESPACE::ThreadImpl::currentThread () |
BLOCXX_COMMON_API UInt64 | BLOCXX_NAMESPACE::ThreadImpl::thread_t_ToUInt64 (Thread_t thr) |
Convert a Thread_t to an UInt64. | |
BLOCXX_COMMON_API int | BLOCXX_NAMESPACE::ThreadImpl::setThreadDetached (Thread_t &handle) |
Set a thread that was previously in the joinable state to a detached state. | |
BLOCXX_COMMON_API int | BLOCXX_NAMESPACE::ThreadImpl::joinThread (Thread_t &handle, Int32 &rval) |
Join a thread that has been previously set to joinable. | |
void | BLOCXX_NAMESPACE::ThreadImpl::yield () |
Voluntarily yield to the processor giving the next thread in the chain the opportunity to run. | |
void | BLOCXX_NAMESPACE::ThreadImpl::sleep (UInt32 milliSeconds) |
Suspend execution of the current thread until the given number of milliSeconds have elapsed. | |
void | BLOCXX_NAMESPACE::ThreadImpl::sleep (const Timeout &timeout) |
Suspend execution of the current thread until the given number of seconds have elapsed. | |
BLOCXX_COMMON_API void | BLOCXX_NAMESPACE::ThreadImpl::testCancel () |
Test if this thread has been cancelled. | |
BLOCXX_COMMON_API void | BLOCXX_NAMESPACE::ThreadImpl::saveThreadInTLS (void *pTheThread) |
BLOCXX_COMMON_API void | BLOCXX_NAMESPACE::ThreadImpl::sendSignalToThread (Thread_t threadID, int signo) |
BLOCXX_COMMON_API void | BLOCXX_NAMESPACE::ThreadImpl::cancel (Thread_t threadID) |
#define BLOCXX_THREAD_FLG_JOINABLE 0x000000001 |
Definition at line 62 of file ThreadImpl.hpp.
Referenced by BLOCXX_NAMESPACE::Thread::start().