Re: glib & *nix signals

2010-02-08 Thread Thomas Stover
> From: "Brian J. Tarricone" > To: gtk-app-devel-list@gnome.org > Subject: Re: glib & *nix signals > Message-ID: <4b6dcb57.6080...@cornell.edu> > Content-Type: text/plain; charset=ISO-8859-1 > > > I usually create a pipe (see pipe(2)), wrap the r

Re: glib & *nix signals

2010-02-06 Thread Brian J. Tarricone
On 02/04/2010 11:11 AM, Thomas Stover wrote: > 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 sign

glib & *nix signals

2010-02-04 Thread Thomas Stover
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 aro