ThreadImpl.hpp File Reference

#include "blocxx/BLOCXX_config.h"
#include "blocxx/Types.hpp"
#include "blocxx/ThreadTypes.hpp"

Go to the source code of this file.

Namespaces

namespace  BLOCXX_NAMESPACE
namespace  BLOCXX_NAMESPACE::ThreadImpl

Defines

#define BLOCXX_THREAD_FLG_JOINABLE   0x000000001

Typedefs

typedef Int32(* BLOCXX_NAMESPACE::ThreadFunction )(void *)

Functions

int BLOCXX_NAMESPACE::ThreadImpl::createThread (Thread_t &handle, ThreadFunction func, void *funcParm, UInt32 threadFlags)
 Starts a thread running the given function.
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.
void BLOCXX_NAMESPACE::ThreadImpl::exitThread (Thread_t &handle, Int32 rval)
 Exit thread method.
Thread_t BLOCXX_NAMESPACE::ThreadImpl::currentThread ()
UInt64 BLOCXX_NAMESPACE::ThreadImpl::thread_t_ToUInt64 (Thread_t thr)
 Convert a Thread_t to an UInt64.
int BLOCXX_NAMESPACE::ThreadImpl::setThreadDetached (Thread_t &handle)
 Set a thread that was previously in the joinable state to a detached state.
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::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 BLOCXX_NAMESPACE::ThreadImpl::testCancel ()
 Test if this thread has been cancelled.
void BLOCXX_NAMESPACE::ThreadImpl::saveThreadInTLS (void *pTheThread)
void BLOCXX_NAMESPACE::ThreadImpl::sendSignalToThread (Thread_t threadID, int signo)
void BLOCXX_NAMESPACE::ThreadImpl::cancel (Thread_t threadID)


Define Documentation

#define BLOCXX_THREAD_FLG_JOINABLE   0x000000001
 

Definition at line 53 of file ThreadImpl.hpp.

Referenced by BLOCXX_NAMESPACE::ThreadImpl::createThread(), and BLOCXX_NAMESPACE::Thread::start().


Generated on Fri Jun 16 15:39:10 2006 for blocxx by  doxygen 1.4.6