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

phoIPCRegisterServerCheck

phoIPCRegisterServerCheck(
t_toolName
s_serverCheckFunc
)
=> t / nil

Description

Registers a function that can be used to check if the server associated with the specified tool is operating correctly. The registered server check function is expected to have no arguments. If the function is not specified, or it has an argument, registration fails. If the function is registered, it checks that the IPC channel is open and connected to the child process. This function is intended to perform a quick check and is likely to be used inside a Pcell.

Arguments

t_toolName

Name of the tool.

s_serverCheckFunc

Name of the function to call to check if the server is operating correctly.

Value Returned

t

The server check function is registered.

nil

The command failed.

Examples

phoIPCRegisterServerCheck("phoIPCSample" 'myCheckFn)

Related Topics

Server Registration and Check Functions

phoIPCGetServerCheck

phoIPCServerCheck


Return to top
 ⠀
X