mac carbon VM 3.8.14b3 pending

Juergen Gmeiner gj at gjdv.at
Mon Nov 20 22:18:37 UTC 2006


On 20.11.2006, at 21:53, John M McIntosh wrote:
> Normally what will happen is if the plugin instance is destroyed we  
> then sigterm the associated child process.   But if the browser  
> crashes, not uncommon, the sub-process are left running... Mmm I  
> wonder if the child process can get notification if the parent is  
> terminated?

Notification - no.  But it can check it's parent process via getppid 
().  If a process's parent is terminated, it gets the process with  
PID 1 as new parent.  It's not init as in traditional unix systems  
but launchd, but it seems they kept the magic process id 1.

cheers,
Juergen

-- 
Juergen Gmeiner







More information about the Squeak-dev mailing list