Displaying 1 result from an estimated 1 matches for "perentpid".
Did you mean:
parentpid
2003 Nov 12
0
smbmount patch
...:
Smbmount need to be a daemon to serve the mountpoint.
Parent make [sys_]fork() to create this young daemon.
After sys_fork() children go ahead and kill(parentpid, SIGTERM).
BUT! Parent sometimes late to finish his sys_fork() :((
I don't know why. And when he still in fork() and children kill(perentpid,SIGTERM)'s him
parent calls exit(), but after this begin some maybe "proper" freeing of something by libs (saw with gdb)
and process deadlocking somehow.
This moment need proper syncronization in any case.
The mechanism is just like the children say to perant to exit: parent says to c...