A slot associated with a cancellation signal.
class cancellation_slot
Name |
Description |
---|---|
Installs a handler into the slot. |
|
cancellation_slot [constructor] |
Creates a slot that is not connected to any cancellation signal. |
Clears the slot. |
|
Installs a handler into the slot, constructing the new object directly. |
|
Returns whether the slot is connected and has an installed handler. |
|
Returns whether the slot is connected to a signal. |
Name |
Description |
---|---|
Compare two slots for inequality. |
|
Compare two slots for equality. |
Header: asio/cancellation_signal.hpp
Convenience header: asio.hpp