log4cplus 2.0.8
log4cplus::thread Namespace Reference

Namespaces

namespace  impl

Classes

class  Queue
 Single consumer, multiple producers queue. More...
class  SyncGuard
class  Mutex
class  Semaphore
class  ManualResetEvent
class  SharedMutexImplBase
class  SyncGuardFunc
class  SharedMutex
class  SignalsBlocker
 This class blocks all POSIX signals when created and unblocks them when destroyed. More...
class  AbstractThread
 There are many cross-platform C++ Threading libraries. More...

Typedefs

typedef helpers::SharedObjectPtr< QueueQueuePtr
typedef SyncGuard< MutexMutexGuard
typedef SyncGuard< SemaphoreSemaphoreGuard
typedef SyncGuardFunc< SharedMutex, &SharedMutex::rdlock, &SharedMutex::rdunlockSharedMutexReaderGuard
typedef SyncGuardFunc< SharedMutex, &SharedMutex::wrlock, &SharedMutex::wrunlockSharedMutexWriterGuard
typedef helpers::SharedObjectPtr< AbstractThreadAbstractThreadPtr

Functions

LOG4CPLUS_EXPORT log4cplus::tstring const & getCurrentThreadName ()
LOG4CPLUS_EXPORT log4cplus::tstring const & getCurrentThreadName2 ()
LOG4CPLUS_EXPORT void setCurrentThreadName (const log4cplus::tstring &name)
LOG4CPLUS_EXPORT void setCurrentThreadName2 (const log4cplus::tstring &name)
LOG4CPLUS_EXPORT void yield ()
LOG4CPLUS_EXPORT void blockAllSignals ()

Typedef Documentation

◆ AbstractThreadPtr

◆ MutexGuard

Definition at line 79 of file syncprims.h.

◆ QueuePtr

◆ SemaphoreGuard

◆ SharedMutexReaderGuard

◆ SharedMutexWriterGuard

Function Documentation

◆ blockAllSignals()

LOG4CPLUS_EXPORT void log4cplus::thread::blockAllSignals ( )

References LOG4CPLUS_EXPORT.

◆ getCurrentThreadName()

LOG4CPLUS_EXPORT log4cplus::tstring const & log4cplus::thread::getCurrentThreadName ( )

◆ getCurrentThreadName2()

LOG4CPLUS_EXPORT log4cplus::tstring const & log4cplus::thread::getCurrentThreadName2 ( )

◆ setCurrentThreadName()

LOG4CPLUS_EXPORT void log4cplus::thread::setCurrentThreadName ( const log4cplus::tstring & name)

References LOG4CPLUS_EXPORT.

◆ setCurrentThreadName2()

LOG4CPLUS_EXPORT void log4cplus::thread::setCurrentThreadName2 ( const log4cplus::tstring & name)

References LOG4CPLUS_EXPORT.

◆ yield()

LOG4CPLUS_EXPORT void log4cplus::thread::yield ( )

References LOG4CPLUS_EXPORT.