Re: Handling Unix signals in a GTK+ application
- From: "David Necas (Yeti)" <yeti physics muni cz>
- To: Tristan Van Berkom <tristan van berkom gmail com>
- Cc: gtk-app-devel-list gnome org, fredderic excite com
- Subject: Re: Handling Unix signals in a GTK+ application
- Date: Thu, 16 Mar 2006 22:19:43 +0100
On Thu, Mar 16, 2006 at 03:55:50PM -0500, Tristan Van Berkom wrote:
Well, it locks a mutex before accessing the GMainContext; so if gtk+ is
compiled with threads... it should work... unless I'm on crack and mutexes
are useless from signal handlers... but I dont think so.
Maybe I'm missing something, but how does this help when the
signal is delivered to the thread which is just inside
g_idle_add() (the only thread in a single-threaded program)?
Yeti
--
That's enough.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]