WaitpidThreadFix.hpp File Reference

#include "Types.hpp"
#include "CommonFwd.hpp"
#include "ThreadTypes.hpp"
#include "blocxx/Process.hpp"

Go to the source code of this file.

Namespaces

namespace  BLOCXX_NAMESPACE
namespace  BLOCXX_NAMESPACE::WaitpidThreadFix

Functions

bool BLOCXX_NAMESPACE::WaitpidThreadFix::setWaitpidThreadFixEnabled (bool enabled)
 If a program is single threaded (like the monitor code is), then this function can be called to ensure that the fork/waitpid threading fix is or is not used (on the few platforms that its actually needed for).
bool BLOCXX_NAMESPACE::WaitpidThreadFix::shouldUseWaitpidThreadFix ()
ProcessRef BLOCXX_NAMESPACE::WaitpidThreadFix::spawnProcess (char const *exec_path, char const *const argv[], char const *const envp[], Exec::PreExec &pre_exec)
Process::Status BLOCXX_NAMESPACE::WaitpidThreadFix::waitPid (const ProcId &pid)


Generated on Wed Feb 25 19:05:01 2009 for blocxx by  doxygen 1.5.6