Class to coordinate writing of streams. More...
#include <IOLock.hh>
Classes | |
struct | lock_set |
Public Types | |
typedef MutexLock::baton_type | baton_type |
typedef MutexLock::baton_type | baton_type |
Static Public Member Functions | |
static baton_type | GetKey (const std::ostream &Stream) |
Obtain the lock for a stream. | |
static baton_type | GetKey (const std::ostream &Stream) |
Obtain the lock for a stream. | |
Private Types | |
typedef std::list< lock_set * > | keys_ostream_type |
typedef std::list< lock_set * > | keys_ostream_type |
Static Private Attributes | |
static baton_type | m_key_ostream |
static keys_ostream_type | m_keys_ostream |
Class to coordinate writing of streams.
This class allows multithreaded applications to share a stream when threads cooperate.
|
private |
|
private |
|
static |
Obtain the lock for a stream.
|
static |
Obtain the lock for a stream.
|
staticprivate |
|
staticprivate |