Boost C++ Libraries

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