Re: IPC-signals ignored by gtk2->main



bobo sideburns dyndns org said:
Hi there,

i have a problem with a gtk2-script:
when i define signal handlers like:
[code]
$SIG{USR1}=sub {print STDOUT "SIGUSR1\n"};
[/code]
before the gtk2 main-loop, the signals are blocked until i press the
"quit"-button of my gtk2 window.

How can I get the gtk2 main-loop listen to those signals ?

what are you trying to acomplish? i won't say that signals aren't the way to
go, but there probably aren't a lot of cases where they are. i'll play around
with this some to see if i can find any problems, but i don't forsee there
being any. if you give us an idea of what you're trying to do we'd be in a
better position to help you figure out a way to do it.

-rm



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