pa_spawn_api

A structure for the spawn api. This may be used to integrate auto * spawned daemons into your application. For more information see * pa_context_connect(). When spawning a new child process the * waitpid() is used on the child's PID. The spawn routine will not * block or ignore SIGCHLD signals, since this cannot be done in a * thread compatible way. You might have to do this in * prefork/postfork.

Members

Variables

atfork
void function() atfork;

< Is called immediately after the fork in the parent * process. May be NULL.

postfork
void function() postfork;

< Is called just before the fork in the parent process. May be * NULL.

prefork
void function() prefork;
Undocumented in source.

Meta