> In this case, I think, that you should call the gtk_exit() in
> the last existing process, not in the newly created process - I'd rather
> finish it in regular way. (exit()). When you call gtk_exit(), it should
> deallocate all the resources used by gtk, and probably also close
> connections b
Carlos Toledo <[EMAIL PROTECTED]> writes:
> gtk_exit (0);
use _exit(0) not gtk_exit() or exit().
Havoc
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list
On Tue, 5 Sep 2000, Carlos Toledo wrote:
Hi!
I don't understand the reason why are you doing it (the creating new
process). If is it possible, you should avoid multithreading in a gtk
program. If you really need it, it should be enough to use threads in the
gtk program (see gtk faq).
In th
Hello, I have a problem with this code, when I create a child process
using gtk the program always dies with a broken pipe.
Here is the !#"!$% code:
#include
#include
void sistema (GtkWidget *widget, gpointer *data)
{
int pid, index, w, estado, i=10;
pid = fork ();
s