On Sun, 11 Apr 2010 03:45:08 -0700 (PDT) "Adam Chyla [PL]" <[email protected]> wrote: > So, Could you give me a simple example showing how to use new thread > and fork()?
It would be best to know what you are trying to do in the child process. Depending on that, I think the alternative approach offered to you may well be the better one. Your mistake in your second go at it was not to end the child process when you want it to end. Every child process after a fork() must end with either a call to exec() (which replaces the process image with that of an entirely new program) or _exit() (not exit()) which terminates the process entirely. Chris _______________________________________________ gtkmm-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtkmm-list
