1#ifndef BLOCXX_WAITPID_THREAD_FIX_HPP_20060418
2#define BLOCXX_WAITPID_THREAD_FIX_HPP_20060418
69 char const * exec_path,
70 char const *
const argv[],
71 char const *
const envp[],
This class is used to specify what spawn() should do between fork and exec.
BLOCXX_COMMON_API ProcessRef spawnProcess(char const *exec_path, char const *const argv[], char const *const envp[], Exec::PreExec &pre_exec)
BLOCXX_COMMON_API Process::Status waitPid(const ProcId &pid)
BLOCXX_COMMON_API bool setWaitpidThreadFixEnabled(bool enabled)
If a program is single threaded (like the monitor code is), then this function can be called to ensur...
BLOCXX_COMMON_API bool shouldUseWaitpidThreadFix()
IntrusiveReference< Process > ProcessRef