DOH! Sometimes it helps to look in the archives :) I think I found the reason for the malfunction. I didn't link with pthreads.
/Henric ----- Original Message ----- From: "Henric Andersson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 24, 2002 10:45 PM Subject: [directfb-dev] Problems with fork() and stdio > Hi! > > I'm working on a program that will run other program and control them via > the STDIO. I do this by fork():ing and replacing fd 0-2 with my own. This > works great until I try to do it while DirectFB is running. Then the program > hangs and I have to kill it (SIGKILL) to stop it. > > Does anyone know why? And better yet, even have a solution for it? :) > > I don't need to be able to use the keyboard or such from DirectFB since all > input is coming from a serial port. > > /Henric > > > > -- > Info: To unsubscribe send a mail to [EMAIL PROTECTED] with > "unsubscribe directfb-dev" as subject. > > > -- Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe directfb-dev" as subject.
