Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

log4cpp::threading Namespace Reference


Compounds

class  log4cpp::threading::Mutex
class  log4cpp::threading::ScopedLock
 definition of ScopedLock;. More...

class  log4cpp::threading::ThreadLocalDataHolder::Holder
class  log4cpp::threading::MSMutex
 A simple object wrapper around CreateMutex() and DeleteMutex(). More...

class  log4cpp::threading::MSScopedLock
 A simple object wrapper around WaitForSingleObject() and ReleaseMutex(). More...

class  log4cpp::threading::ThreadLocalDataHolder
 This class holds Thread local data of type T, i.e. More...


Typedefs

typedef boost::mutex Mutex
 A simple, non recursive Mutex. More...

typedef boost::scoped_lock<
Mutex
ScopedLock
 A simple "resource acquisition is initialization" idiom type lock for Mutex. More...

typedef boost::thread_specific_ptr ThreadLocalDataHolder

Functions

std::string getThreadId ()
 Return an identifier for the current thread. More...


Typedef Documentation

typedef omni_mutex log4cpp::threading::Mutex
 

A simple, non recursive Mutex.

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

typedef omni_mutex_lock log4cpp::threading::ScopedLock
 

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

Equivalent to Boost.Threads boost::scoped_lock.

typedef class boost::thread_specific_ptr log4cpp::threading::ThreadLocalDataHolder
 


Function Documentation

std::string getThreadId   [static]
 

Return an identifier for the current thread.

What these identifiers look like is completely up to the underlying thread library.


Generated on Mon Oct 28 23:42:16 2002 for log4cpp by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002