DummyEventDriverProcesses

Undocumented in source.

Constructors

this
this(Loop loop, EventDriver driver)
Undocumented in source.

Members

Functions

addRef
void addRef(ProcessID pid)
Undocumented in source. Be warned that the author may not have intended to support it.
adopt
ProcessID adopt(int system_pid)
Undocumented in source. Be warned that the author may not have intended to support it.
cancelWait
void cancelWait(ProcessID pid, size_t waitId)
Undocumented in source. Be warned that the author may not have intended to support it.
dispose
void dispose()
Undocumented in source. Be warned that the author may not have intended to support it.
hasExited
bool hasExited(ProcessID pid)
Undocumented in source. Be warned that the author may not have intended to support it.
isValid
bool isValid(ProcessID handle)
Undocumented in source. Be warned that the author may not have intended to support it.
kill
void kill(ProcessID pid, int signal)
Undocumented in source. Be warned that the author may not have intended to support it.
rawUserData
void* rawUserData(ProcessID descriptor, size_t size, DataInitializer initialize, DataInitializer destroy)
Undocumented in source. Be warned that the author may not have intended to support it.
releaseRef
bool releaseRef(ProcessID pid)
Undocumented in source. Be warned that the author may not have intended to support it.
spawn
Process spawn(string[] args, ProcessStdinFile stdin, ProcessStdoutFile stdout, ProcessStderrFile stderr, string[string] env, ProcessConfig config, string working_dir)
Undocumented in source. Be warned that the author may not have intended to support it.
wait
size_t wait(ProcessID pid, ProcessWaitCallback on_process_exit)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

pendingCount
size_t pendingCount [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From EventDriverProcesses

adopt
ProcessID adopt(int system_pid)

Adopt an existing process.

spawn
Process spawn(string[] args, ProcessStdinFile stdin, ProcessStdoutFile stdout, ProcessStderrFile stderr, string[string] env, ProcessConfig config, string working_dir)

Spawn a child process.

hasExited
bool hasExited(ProcessID pid)

Returns whether the process has exited yet.

kill
void kill(ProcessID pid, int signal)

Kill the process using the given signal. Has different effects on different platforms.

wait
size_t wait(ProcessID pid, ProcessWaitCallback on_process_exit)

Wait for the process to exit.

cancelWait
void cancelWait(ProcessID pid, size_t waitId)

Cancel a wait for the given identifier returned by wait.

isValid
bool isValid(ProcessID handle)

Determines whether the given process handle is valid.

addRef
void addRef(ProcessID pid)

Increments the reference count of the given resource.

releaseRef
bool releaseRef(ProcessID pid)

Decrements the reference count of the given resource.

userData
ProcessID userData [@property setter]

Retrieves a reference to a user-defined value associated with a descriptor.

rawUserData
void* rawUserData(ProcessID descriptor, size_t size, DataInitializer initialize, DataInitializer destroy)

Low-level user data access. Use userData instead.

Meta