Product Documentation
Cadence Interprocess Communication SKILL Reference
Product Version IC23.1, June 2023

ipcWaitForProcess

ipcWaitForProcess( 
o_childId 
[ x_timeOut ] 
) 
=> t

Description

Causes the parent process to suspend until the child process is alive and ready for communication.

This function is normally used in conjunction with one of the ipcBeginProcess class of functions.

Arguments

o_childId

Child process handle.

x_timeOut

Time beyond which this call should not block.

Value Returned

t

The child process is alive.

nil

The child has already expired.

Examples

      cid = ipcBeginProcess("hostname")
ipc:6
ipcWaitForProcess(cid)
; Wait for the child process coming up
; to guarantee a safe read
t
ipcReadProcess(cid)
"foghorn\n"

Related Topics

Interprocess Communication Functions

ipcSleep

ipcBeginProcess

ipcStopProcess

ipcWait


Return to top
 ⠀
X