Interrupt signal, GLib, threads



I have a GLib/GThread console application that runs fine on Linux and
Solaris. But ever since I added threading, when the user hits ^C in the
shell the signal is ignored. Does using GThread automatically mask
signals? What do I do to get them back?

When running my app under gdb, incidentally, ^C works as expected (that
is, it drops me in a gdb prompt wherever I was).

-- 
Gaal Yahas <gaal forum2 org>
http://gaal.livejournal.com/



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