ocean.sys.SafeFork

SafeFork

Offers some wrappers for the usage of fork to call expensive blocking functions without interrupting the main process and without the need to synchronize.

Useful version switches: TimeFork = measures and displays the time taken by the linux fork() call

Members

Classes

SafeFork
class SafeFork

SafeFork

Enums

idtype_t
enum idtype_t

External C

Functions

waitid
int waitid(idtype_t , id_t , siginfo_t* , int )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Static variables

WEXITED
auto WEXITED;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
WNOWAIT
auto WNOWAIT;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Meta

License

Boost Software License Version 1.0. See LICENSE_BOOST.txt for details. Alternatively, this file may be distributed under the terms of the Tango 3-Clause BSD License (see LICENSE_BSD.txt for details).