log4cplus_thread(3)

log4cplus::thread(3) log4cplus log4cplus::thread(3)

NAME

log4cplus::thread

SYNOPSIS

Namespaces


namespace impl

Classes


class AbstractThread
There are many cross-platform C++ Threading libraries. class ManualResetEvent
class Mutex
class Queue
Single consumer, multiple producers queue. class Semaphore
class SharedMutex
class SharedMutexImplBase
class SignalsBlocker
This class blocks all POSIX signals when created and unblocks them when destroyed. 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

typedef helpers::SharedObjectPtr<AbstractThread> log4cplus::thread::AbstractThreadPtr

Definition at line 104 of file threads.h.

typedef SyncGuard<Mutex> log4cplus::thread::MutexGuard

Definition at line 79 of file syncprims.h.

typedef helpers::SharedObjectPtr<Queue> log4cplus::thread::QueuePtr

Definition at line 150 of file queue.h.

typedef SyncGuard<Semaphore> log4cplus::thread::SemaphoreGuard

Definition at line 103 of file syncprims.h.

typedef SyncGuardFunc<SharedMutex, &SharedMutex::rdlock, &SharedMutex::rdunlock> log4cplus::thread::SharedMutexReaderGuard

Definition at line 178 of file syncprims.h.

typedef SyncGuardFunc<SharedMutex, &SharedMutex::wrlock, &SharedMutex::wrunlock> log4cplus::thread::SharedMutexWriterGuard

Definition at line 182 of file syncprims.h.

Function Documentation

LOG4CPLUS_EXPORT void log4cplus::thread::blockAllSignals ()

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

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

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

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

LOG4CPLUS_EXPORT void log4cplus::thread::yield ()

Author

Generated automatically by Doxygen for log4cplus from the source code.

Mon Jun 5 2023 21:46:10 Version 2.0.7