Defines an IO service loop for a single thread.
More...
#include <ciosrv.h>
|
void | run () |
|
void | stop () |
| Terminates cioloop instance running in thread identified by this->tid.
|
|
void | shutdown () |
| Terminates all running cioloop instances.
|
|
pthread_t | get_tid () const |
|
|
static cioloop & | get_loop (pthread_t tid=0) |
| Returns reference to cioloop instance identified by thread id or if none is specified, cioloop of local thread.
|
|
static void | drop_loop (pthread_t tid) |
| Drop.
|
|
|
void | add_readfd (ciosrv *iosrv, int fd) |
|
void | drop_readfd (ciosrv *iosrv, int fd) |
|
void | add_writefd (ciosrv *iosrv, int fd) |
|
void | drop_writefd (ciosrv *iosrv, int fd) |
|
void | has_timer (ciosrv *iosrv) |
|
void | has_no_timer (ciosrv *iosrv) |
|
void | has_event (ciosrv *iosrv) |
|
void | has_no_event (ciosrv *iosrv) |
|
|
class | ciosrv |
|
std::ostream & | operator<< (std::ostream &os, cioloop const &ioloop) |
|
Defines an IO service loop for a single thread.
The documentation for this class was generated from the following files:
- /home/andreas/git/rofl-core/src/rofl/common/ciosrv.h
- /home/andreas/git/rofl-core/src/rofl/common/ciosrv.cc