PtSpawnSetCallback()

Change the callback in a PtSpawn() control structure

Synopsis:

void PtSpawnSetCallback( PtSpawnCbId_t *cs, 
                         PtSpawnCbF_t *cb, 
                         void *data );

Library:

ph

Description:

This function can be used to specify a new callback function to be called when a child process created by a previous call to PtSpawn() terminates. The cs argument is the control structure created by that call to PtSpawn() and returned via the csp argument.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtSpawn(), PtSpawnDeleteCallback(), PtSpawnWait()