log4cplus 2.0.8
Namespaces | Classes | Typedefs | Functions
log4cplus::thread Namespace Reference

Namespaces

namespace  impl
 

Classes

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

Typedefs

typedef helpers::SharedObjectPtr< Queue > QueuePtr
 
typedef SyncGuard< Mutex > MutexGuard
 
typedef SyncGuard< Semaphore > SemaphoreGuard
 
typedef SyncGuardFunc< SharedMutex, &SharedMutex::rdlock, &SharedMutex::rdunlock > SharedMutexReaderGuard
 
typedef SyncGuardFunc< SharedMutex, &SharedMutex::wrlock, &SharedMutex::wrunlock > SharedMutexWriterGuard
 
typedef helpers::SharedObjectPtr< AbstractThread > AbstractThreadPtr
 

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

Definition at line 104 of file threads.h.

◆ MutexGuard

Definition at line 79 of file syncprims.h.

◆ QueuePtr

Definition at line 150 of file queue.h.

◆ SemaphoreGuard

Definition at line 103 of file syncprims.h.

◆ SharedMutexReaderGuard

Definition at line 178 of file syncprims.h.

◆ SharedMutexWriterGuard

Definition at line 182 of file syncprims.h.

Function Documentation

◆ blockAllSignals()

LOG4CPLUS_EXPORT void log4cplus::thread::blockAllSignals ( )

◆ 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)

◆ setCurrentThreadName2()

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

◆ yield()

LOG4CPLUS_EXPORT void log4cplus::thread::yield ( )