OW_ThreadImpl.cpp File Reference

#include "OW_config.h"
#include "OW_ThreadImpl.hpp"
#include "OW_Mutex.hpp"
#include "OW_Assertion.hpp"
#include "OW_Thread.hpp"
#include "OW_NonRecursiveMutexLock.hpp"
#include "OW_Format.hpp"
#include <cassert>
#include <cstring>
#include <cstddef>
#include <sys/time.h>
#include <sys/types.h>
#include <unistd.h>
#include <errno.h>
#include <signal.h>
#include <pthread.h>

Include dependency graph for OW_ThreadImpl.cpp:

Go to the source code of this file.

Namespaces

namespace  OW_NAMESPACE
namespace  OW_NAMESPACE::ThreadImpl

Defines

#define OW_THREAD_CONVERTER   UInt32

Functions

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::yield ()
 Voluntarily yield to the processor giving the next thread in the chain the opportunity to run.
static void * OW_NAMESPACE::ThreadImpl::threadStarter (void *arg)
static void OW_NAMESPACE::ThreadImpl::initializeTheKey ()
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::exitThread (Thread_t &handle, Int32 rval)
 Exit thread method.
UInt64 OW_NAMESPACE::ThreadImpl::thread_t_ToUInt64 (Thread_t thr)
 Convert a Thread_t to an UInt64.
void OW_NAMESPACE::ThreadImpl::destroyThread (Thread_t &handle)
 Destroy any resources associated with a thread that was created with the createThread method.
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::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)

Variables

ThreadFunction m_func
void * m_funcParm
static size_t val
static bool needsSetting
default_stack_size OW_NAMESPACE::ThreadImpl::g_theDefaultStackSize
pthread_once_t OW_NAMESPACE::ThreadImpl::once_control = PTHREAD_ONCE_INIT
pthread_key_t OW_NAMESPACE::ThreadImpl::theKey


Define Documentation

#define OW_THREAD_CONVERTER   UInt32
 

Definition at line 290 of file OW_ThreadImpl.cpp.

Referenced by OW_NAMESPACE::ThreadImpl::thread_t_ToUInt64().


Variable Documentation

ThreadFunction m_func
 

Definition at line 147 of file OW_ThreadImpl.cpp.

void* m_funcParm
 

Definition at line 148 of file OW_ThreadImpl.cpp.

bool needsSetting [static]
 

Definition at line 217 of file OW_ThreadImpl.cpp.

Referenced by OW_NAMESPACE::ThreadImpl::createThread().

size_t val [static]
 

Definition at line 216 of file OW_ThreadImpl.cpp.

Referenced by arraySetElementAt(), OW_NAMESPACE::asKeyString(), CIMParameterNewRef(), OWBI1::CIMParamValue::CIMParamValue(), OW_NAMESPACE::CIMParamValue::CIMParamValue(), OW_NAMESPACE::CmdLineParser::CmdLineParser(), OW_NAMESPACE::XMLCIMFactory::convertCimType(), OW_NAMESPACE::ThreadImpl::createThread(), OW_NAMESPACE::WQLProcessor::filterInstancesOnPropertyValue(), mbSetProperty(), OWBI1::operator<<(), OW_NAMESPACE::operator<<(), refAddKey(), OWBI1::CIMProperty::setValue(), OWBI1::CIMParamValue::setValue(), OW_NAMESPACE::CIMProperty::setValue(), OW_NAMESPACE::CIMParamValue::setValue(), OW_NAMESPACE::splitUpProps(), OW_NAMESPACE::BinarySerialization::verifySignature(), OW_NAMESPACE::WQLProcessor::visit_aExprConst_BITCONST(), OW_NAMESPACE::WQLProcessor::visit_aExprConst_HEXCONST(), OW_NAMESPACE::MOF::CIMOMVisitor::VisitConstantValueFloatValue(), OW_NAMESPACE::MOF::CIMOMVisitor::VisitIntegerValueBinaryValue(), OW_NAMESPACE::MOF::CIMOMVisitor::VisitIntegerValueDecimalValue(), OW_NAMESPACE::MOF::CIMOMVisitor::VisitIntegerValueHexValue(), OW_NAMESPACE::MOF::CIMOMVisitor::VisitIntegerValueOctalValue(), and OW_NAMESPACE::XMLUnescape().


Generated on Thu Feb 9 09:06:37 2006 for openwbem by  doxygen 1.4.6