boost::corosio::signal_set::flags_t

Flags for signal registration.

Synopsis

enum flags_t : unsigned int;

Description

These flags control the behavior of signal handling. Multiple flags can be combined using the bitwise OR operator.

Flags only have effect on POSIX systems. On Windows, only none and dont_care are supported; other flags return operation_not_supported.

Members

Name

Description

dont_care

Use existing flags if signal is already registered. When adding a signal that's already registered by another signal_set, this flag indicates acceptance of whatever flags were used for the existing registration.

none

No special flags.

restart

Restart interrupted system calls. Equivalent to SA_RESTART on POSIX systems.

no_child_stop

Don't generate SIGCHLD when children stop. Equivalent to SA_NOCLDSTOP on POSIX systems.

no_child_wait

Don't create zombie processes on child termination. Equivalent to SA_NOCLDWAIT on POSIX systems.

no_defer

Don't block the signal while its handler runs. Equivalent to SA_NODEFER on POSIX systems.

reset_handler

Reset handler to SIG_DFL after one invocation. Equivalent to SA_RESETHAND on POSIX systems.

Non-Member Functions

Name

Description

::boost::corosio::operator&

Mask two flag values.

::boost::corosio::operator&=

Compound assignment AND.

::boost::corosio::operator|

Combine two flag values.

::boost::corosio::operator|=

Compound assignment OR.

::boost::corosio::operator~

Bitwise NOT (complement).

Created with MrDocs