Qpid Proton C++
0.13.1
|
Experimental - A serial execution context. More...
#include <event_loop.hpp>
Public Member Functions | |
virtual bool | inject (inject_handler &f)=0 |
Arrange to have f() called in the event_loop's sequence: possibly deferred, possibly in another thread. More... | |
Experimental - A serial execution context.
Event handler functions associated with a single proton::connection are called in sequence. The connection's event_loop allows you to "inject" extra work from any thread, and have it executed in the same sequence.
|
pure virtual |
Arrange to have f() called in the event_loop's sequence: possibly deferred, possibly in another thread.