Boost C++ Libraries of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards



Handle notification of a fork-related event to perform any necessary housekeeping.

virtual void notify_fork(
    execution_context::fork_event event);

This function is not a pure virtual so that services only have to implement it if necessary. The default implementation does nothing.