blocxx
WaitpidThreadFix.cpp File Reference
#include "blocxx/Thread.hpp"
#include "blocxx/WaitpidThreadFix.hpp"
#include "blocxx/Exec.hpp"
#include "blocxx/WaitpidThreadFixFwd.hpp"
#include "blocxx/ThreadOnce.hpp"
#include "blocxx/NonRecursiveMutex.hpp"
#include "blocxx/NonRecursiveMutexLock.hpp"
#include "blocxx/Condition.hpp"
#include "blocxx/Reference.hpp"
#include "blocxx/IntrusiveReference.hpp"
#include <queue>
#include <sys/types.h>
#include <sys/wait.h>

Go to the source code of this file.

Namespaces

namespace  BLOCXX_NAMESPACE
 Taken from RFC 1321.
 

Variable Documentation

◆ m_argv

const char* const* m_argv
protected

Definition at line 212 of file WaitpidThreadFix.cpp.

◆ m_cond

Condition m_cond
private

Definition at line 136 of file WaitpidThreadFix.cpp.

◆ m_doneSig

WorkSignal m_doneSig
protected

Definition at line 172 of file WaitpidThreadFix.cpp.

◆ m_envp

const char* const* m_envp
protected

Definition at line 213 of file WaitpidThreadFix.cpp.

◆ m_err

ExceptionPtr m_err
protected

Definition at line 170 of file WaitpidThreadFix.cpp.

◆ m_errMutex

NonRecursiveMutex m_errMutex
protected

Definition at line 171 of file WaitpidThreadFix.cpp.

◆ m_execPath

const char* m_execPath
protected

Definition at line 211 of file WaitpidThreadFix.cpp.

◆ m_idMutex

NonRecursiveMutex m_idMutex
protected

Definition at line 316 of file WaitpidThreadFix.cpp.

◆ m_mutex

◆ m_pid

const ::pid_t& m_pid
protected

Definition at line 250 of file WaitpidThreadFix.cpp.

◆ m_preExec

Exec::PreExec& m_preExec
protected

Definition at line 214 of file WaitpidThreadFix.cpp.

◆ m_result

Process::Status m_result
protected

Definition at line 208 of file WaitpidThreadFix.cpp.

◆ m_resultMutex

NonRecursiveMutex m_resultMutex
protected

Definition at line 209 of file WaitpidThreadFix.cpp.

◆ m_signal

bool m_signal
private

Definition at line 135 of file WaitpidThreadFix.cpp.

◆ m_work

std::queue<WorkItem*> m_work
private

Definition at line 287 of file WaitpidThreadFix.cpp.

◆ m_workMutex

NonRecursiveMutex m_workMutex
private

Definition at line 289 of file WaitpidThreadFix.cpp.

◆ m_workNotEmpty

Condition m_workNotEmpty
private

Definition at line 288 of file WaitpidThreadFix.cpp.

◆ m_workQueue

WorkQueue m_workQueue
protected

Definition at line 314 of file WaitpidThreadFix.cpp.