Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pt/ptspawnsetcallback.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pt/ptspawnsetcallback.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pt/ptspawnsetcallback.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pt/ptspawnsetcallback.html on line 8

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()


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pt/ptspawnsetcallback.html on line 85

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pt/ptspawnsetcallback.html on line 85