|
wibble
1.1
|
#include <pipe.h>


Public Member Functions | |
| Writer () | |
| void * | main () |
| Main thread function, executed in the new thread after creation. More... | |
| bool | done () |
| void | run (int _fd, std::string what) |
Public Member Functions inherited from wibble::sys::Thread | |
| virtual | ~Thread () |
| void | start () |
| Start the thread. More... | |
| void | startDetached () |
| Start the thread in the detached state. More... | |
| void * | join () |
| Join the thread. More... | |
| void | detach () |
| Put the thread in the detached state. More... | |
| void | cancel () |
| Send a cancellation request to the thread. More... | |
| void | kill (int signal) |
| Sent a signal to the thread. More... | |
Public Attributes | |
| int | fd |
| bool | close |
| std::string | data |
| bool | running |
| bool | closed |
| wibble::sys::Mutex | mutex |
Additional Inherited Members | |
Protected Member Functions inherited from wibble::sys::Thread | |
| virtual const char * | threadTag () |
| Short tag describing this thread, used in error messages and identification. More... | |
| void | testcancel () |
| Callback function used to start the thread. More... | |
|
inline |
|
inlinevirtual |
Main thread function, executed in the new thread after creation.
When main() exits, the new thread ends and main() result will be the thread exit result
Implements wibble::sys::Thread.
References wibble::sys::Pipe::blocking(), close, done(), and wibble::sys::Pipe::write().
|
inline |
References assert_eq, assert_neq, and wibble::sys::Thread::start().
Referenced by wibble::sys::Pipe::write().
| bool wibble::sys::Pipe::Writer::close |
Referenced by wibble::sys::Pipe::close(), and main().
| bool wibble::sys::Pipe::Writer::closed |
| std::string wibble::sys::Pipe::Writer::data |
| int wibble::sys::Pipe::Writer::fd |
| wibble::sys::Mutex wibble::sys::Pipe::Writer::mutex |
Referenced by wibble::sys::Pipe::close().
| bool wibble::sys::Pipe::Writer::running |
Referenced by wibble::sys::Pipe::close(), and done().
1.8.13