Classes | Typedefs | Functions
log4cpp::threading Namespace Reference

Classes

class  MSMutex
class  MSScopedLock
class  Mutex
class  ScopedLock
class  ThreadLocalDataHolder

Typedefs

typedef boost::mutex Mutex
typedef boost::mutex::scoped_lock ScopedLock

Functions

static std::string getThreadId ()
static char * getThreadId (char *buffer)

Typedef Documentation

typedef omni_mutex log4cpp::threading::Mutex

Dummy type 'int' for Mutex. Yes, this adds a bit of overhead in the for of extra memory, but unfortunately 'void' is illegal.

A simple, non recursive Mutex.

A simple, non recursive Mutex. Equivalent to Boost.Threads boost::mutex

Definition at line 37 of file BoostThreads.hh.

typedef omni_mutex_lock log4cpp::threading::ScopedLock

Dummy type 'int' defintion of ScopedLock;

A simple "resource acquisition is initialization" idiom type lock for Mutex.

A simple "resource acquisition is initialization" idiom type lock for Mutex. Equivalent to Boost.Threads boost::scoped_lock.

Definition at line 40 of file BoostThreads.hh.


Function Documentation

static std::string log4cpp::threading::getThreadId ( ) [static]

Return an identifier for the current thread. What these identifiers look like is completely up to the underlying thread library.

Return an identifier for the current thread. What these identifiers look like is completely up to the underlying thread library. OmniThreads returns the POSIX thread Id.

returns the thread ID

Definition at line 22 of file BoostThreads.hh.

static char* log4cpp::threading::getThreadId ( char *  buffer) [static]

returns the thread ID

Parameters:
bufferCharacter buffer of at least 14 in size
Returns:
buffer

Return an identifier for the current thread. What these identifiers look like is completely up to the underlying thread library. OmniThreads returns the POSIX thread Id.

Parameters:
bufferCharacter buffer of at least 16 in size
Returns:
buffer

Return an identifier for the current thread. What these identifiers look like is completely up to the underlying thread library.

Parameters:
bufferCharacter buffer of at least 16 in size
Returns:
buffer

returns the thread ID

Parameters:
bufferCharacter buffer of at least 16 in size
Returns:
buffer

Definition at line 33 of file BoostThreads.hh.



log4cpp
Author(s): Stephen Roderick, Bastiaan Bakker, Cedric Le Goater, Steve Ostlind, Marcel Harkema, Walter Stroebel, Glenn Scott and Tony Cheung
autogenerated on Sun Aug 14 2016 03:18:26