Home | Libraries | People | FAQ | More |
RAII holder for the current async file i/o dispatcher.
class current_dispatcher_guard { // ... };
Function |
Description |
Parameters |
---|---|---|
current_dispatcher_guard(dispatcher_ptr _new) |
dispatcher_ptr: _new: |
|
~current_dispatcher_guard() |
Function |
Description |
Parameters |
Returns |
---|---|---|---|
void release() |
Restore the former async file i/o dispatcher now. |
||
void dismiss() |
Don't restore the former async file i/o dispatcher. |
||
void reset(dispatcher_ptr p) |
Set a different former async file i/o dispatcher on destruction. |
dispatcher_ptr: p: |
#include <boost/afio/v2/afio.hpp>