Evo C++ Library v0.5.1
|
#include <evo/io.h>
Extends an existing stream with mutex for multithreaded synchronization.
Public Types | |
typedef StreamExtMT< T, M > | This |
This type. More... | |
Public Member Functions | |
StreamExtMT (T &stream) | |
Constructor. More... | |
Public Attributes | |
M | mutex |
Stream mutex. More... | |
T & | stream |
Stream object. More... | |
typedef StreamExtMT<T,M> This |
This type.
|
inline |
Constructor.
stream | Stream to extend/wrap |
M mutex |
Stream mutex.
T& stream |
Stream object.