Change the callback in a PtSpawn() control structure
void PtSpawnSetCallback( PtSpawnCbId_t *cs, PtSpawnCbF_t *cb, void *data );
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.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PtSpawn(), PtSpawnDeleteCallback(), PtSpawnWait()