![]() |
My Project
|
Public Member Functions | |
| SingularChannel () | |
| virtual | ~SingularChannel () |
| void | send (string item) |
| string | receive () |
| long | count () |
Public Member Functions inherited from LibThread::SharedObject | |
| SharedObject () | |
| virtual | ~SharedObject () |
| void | set_type (int type_init) |
| int | get_type () |
| void | set_name (std::string &name_init) |
| void | set_name (const char *s) |
| std::string & | get_name () |
| void | incref (int by=1) |
| long | decref () |
| long | getref () |
| virtual BOOLEAN | op2 (int op, leftv res, leftv a1, leftv a2) |
| virtual BOOLEAN | op3 (int op, leftv res, leftv a1, leftv a2, leftv a3) |
Private Attributes | |
| queue< string > | q |
| Lock | lock |
| ConditionVariable | cond |
|
inlinevirtual |
|
inline |
|
inline |
|
inline |
|
private |