Re: passing on signals
- From: Sven Neumann <sven gimp org>
- To: edscott imp mx
- Cc: gtk-list gnome org
- Subject: Re: passing on signals
- Date: 02 Oct 2003 21:36:03 +0200
Hi,
edscott wilson garcia <edscott imp mx> writes:
> I suppose the additional parameter after event will make the call
> blocking so that the return value of the signal handler can be
> returned there, and if there is no additional parameter (or set to
> NULL) the function will just toss the signal on to the queue to be
> processed by the event loop and be non-blocking. Just a
> hypothesis...
Wrong again. GObject signals are always executed synchronously. The
g_signal_emit() call returns when all signal handlers have been run.
If you pass extra parameters to the g_signal_emit() call you don't
change anything.
Sven
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]