Quoting [EMAIL PROTECTED] 
([EMAIL PROTECTED]):
> Just yesterday I upgraded my DirectFB to the current CVS HEAD.  I had
> to build and install a new kernel for it as I am using the multi-app
> core.  My GTK+-DirectFB application fork/execs another application
> (MPlayer).  I install a signal handler for SIGCHLD just prior to the
> fork/exec (g_spawn_async_with_pipes() actually).
> 
> When the child I fork/exec exits, my signal handler does indeed get
> run, but when I call waitpid() with the pid argument (arg. 1) set to 0
> to wait for any children whose process group ID is equal to that of
> the calling process, I get ECHILD.  If I use -1 as the pid argument to
> waitpid (wait for any child process), I get the pid of the exited
> child.
> 
> These semantics have changed recently.  Prior, I was able to use 0 as
> the pid to wait for only processes whose process group ID is equal to
> that of the calling process, now I have to use -1 to wait for any
> child process.
> 
> Is this change intentional with the new multi-app core?

Since tuesday slave applications call setsid() before detaching
from the controlling tty. This is necessary if the controlling
tty is a real tty (/dev/tty[0-9]+). Otherwise fbdev ioctls are
discarded by the kernel because the controlling tty of the process
is not the active tty.

-- 
Best regards,
  Denis Oliver Kropp

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"

                            Convergence GmbH


-- 
Info:  To unsubscribe send a mail to [EMAIL PROTECTED] with 
"unsubscribe directfb-dev" as subject.

Reply via email to