glib & *nix signals
- From: Thomas Stover <thomas wsinnovations com>
- To: <gtk-app-devel-list gnome org>
- Subject: glib & *nix signals
- Date: Thu, 04 Feb 2010 13:11:42 -0600
I'm looking for some notes / advise on catching SIGTERM in a glib main
loop based program.
Mainly on linux, but other kernels would be nice. This article:
http://www.linuxjournal.com/article/2121
for instance, recommends masking all signals all the time and creating a
dedicated thread siting around in a call to sigwait(). Translating that
into glib threads might work. Any thoughts?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]