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

ipcWait

ipcWait( 
o_childId 
[ x_interval ] 
[ x_timeOut ] 
) 
=> t

Description

Causes the parent process to suspend until the child terminates.

This function is like the sleep function in that it allows incoming messages to take effect while waiting.

Arguments

o_childId

Child process handle.

x_interval

The interval at which “Waiting for ... to terminate” message is printed. Default is 30 seconds.

x_timeOut

Time beyond which this call should not block. The default timeout value is 1000000 seconds and the maximum is 2592000 seconds (= 30 days).

Value Returned

t

Always returns t.

Examples

      cid = ipcBeginProcess("sleep 30")
ipc:4
ipcWait(cid)
; Suspends here until the child process terminates
t

Related Topics

Interprocess Communication Functions

ipcSleepMilli

ipcSleep

ipcWaitForProcess


Return to top
 ⠀
X