...one 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 fork_service( boost::asio::io_service::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.