JimWaitForProcess() is only used within OpenOCD.
 
Symbols
loading...
Files
loading...

JimWaitForProcess() function

Does waitpid() on the given pid, and then removes the entry from the wait table. Returns the pid if OK and updates *statusPtr with the status, or JIM_BAD_PID if the pid was not in the table.

Syntax

static pidtype JimWaitForProcess(struct WaitInfoTable *table,     pidtype pid,     int *statusPtr);

Arguments

table

pid

statusPtr

References

LocationReferrerText
jim-exec.c:481
static pidtype JimWaitForProcess(struct WaitInfoTable *table, pidtype pid, int *statusPtr)
jim-exec.c:1217JimCleanupChildren()
if (JimWaitForProcess(table, pidPtr[i], &waitStatus) != JIM_BAD_PID) {

Call Tree

Functions calling JimWaitForProcess()
Functions called by JimWaitForProcess()
all items filtered out
JimWaitForProcess()
all items filtered out
Data read by JimWaitForProcess()
JimWaitForProcess()