Forking




Hello allmighty all,

I am writeing a program and I want some operation to be per performed w/o
stopping gtk (network talk). I fork the program and the child sends
signals to notify the parent. Now the qestion is, is it ok to call gtk
functions from signal handler? Signal may be called while gtk_main is
doing what ever it was to do. Is it bad to interrupt it and do other
gtk stuff? Is there a better way to organize this?

  - Lev

------------------------------------------------------------------------------
"I don't think Microsoft is       | mailto:lev@mindless.com
evil in itself; I just think they | http://www.geocities.com/SunsetStrip/2131
make really crappy                | irc: CrazyLion, #linuxlounge @ EFnet
operating systems."               | 
 - Linus Torvalds                 | Linux forever!
------------------------------------------------------------------------------



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]