boost::corosio::io_signal_set

Abstract base for asynchronous signal sets.

Synopsis

class io_signal_set
    : public io_object

Description

Provides the common signal set interface: wait and cancel. Concrete classes like signal_set add signal registration (add, remove, clear) and platform‐specific flags.

Thread Safety

Distinct objects: Safe. Shared objects: Unsafe.

Base Classes

Name

Description

io_object

Base class for platform I/O objects.

Types

Name

Description

handle

RAII wrapper for I/O object implementation lifetime.

implementation

Define backend hooks for signal set wait and cancel.

io_service

Service interface for I/O object lifecycle management.

Member Functions

Name

Description

cancel

Cancel all operations associated with the signal set.

context

Return the execution context.

wait

Wait for a signal to be delivered.

Protected Member Functions

Name

Description

io_signal_set [constructor] [deleted]

Move construct.

operator= [deleted]

Assignment operators

do_cancel [virtual]

Dispatch cancel to the concrete implementation.

Protected Static Member Functions

Name

Description

create_handle

Create a handle bound to a service found in the context.

Protected Data Members

Name

Description

h_

The platform I/O handle owned by this object.

Derived Classes

Name

Description

signal_set

An asynchronous signal set for coroutine I/O.

See Also

signal_set, io_object

Created with MrDocs