Boost C++ Libraries

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

This is the documentation for a snapshot of the develop branch, built from commit 0f79ae966a.
PrevUpHomeNext

Does Boost.Log support process forking?

No, currently Boost.Log does not support process forking (i.e. fork call in UNIX systems). There are several issues with process forking, for instance:

There may be other issues as well. It seems unlikely that support for forking will be added to Boost.Log any time soon.

[Note] Note

This does not preclude the fork+exec sequence from working. As long as the forked process doesn't try to use any of Boost.Log code, the process should be able to call exec or a similar function to load and start another executable.


PrevUpHomeNext