asio 0.1.5 | Main Page | Class Index | Member Index | Tutorial |
Public Member Functions | |
bool | try_acquire () |
Attempt to acquire the right to make an upcall. | |
template<typename Handler> void | acquire (Handler handler) |
Acquire the right to make an upcall. | |
void | release () |
Relinquish a previously granted right to make an upcall. |
|
Attempt to acquire the right to make an upcall. This function is called to attempt to obtain the right to make an upcall to a completion handler. This function always returns a result immediately. If the right to make an upcall was successfully acquired, then a later call must be made to the release() function to relinquish that right.
|
|
Acquire the right to make an upcall. This function is called to obtain the right to make an upcall to a completion handler. The handler will be called when the right is granted.
|
|
Relinquish a previously granted right to make an upcall.
|