List of all members.
Public Member Functions |
| | sbuf (std::ostream &o, mutex *m=NULL, const char *prefix=NULL) |
|
virtual int | sync () |
|
virtual streamsize | xsputn (const char *s, streamsize n) |
| | Put sequence of characters in buffer.
|
Friends |
|
class | mutex_ostream |
Constructor & Destructor Documentation
| ebl::sbuf::sbuf |
( |
std::ostream & |
o, |
|
|
mutex * |
m = NULL, |
|
|
const char * |
prefix = NULL |
|
) |
| |
Output to ostream o but prevent other
- Parameters:
-
| m | The mutex shared by all threads used to synchronize. |
| prefix | If not null, prefix is printed before each new line. |
The documentation for this class was generated from the following files:
- /home/rex/ebltrunk/tools/libeblearntools/include/thread.h
- /home/rex/ebltrunk/tools/libeblearntools/src/thread.cpp