xfce-mcs-manager -> suggest signal poll interval == 1s

Kok, Auke sofar at foo-projects.org
Thu May 24 18:18:37 CEST 2007


Brian J. Tarricone wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Wed, 23 May 2007 23:47:53 -0700 Brian J. Tarricone wrote:
>> Actually, a better fix -- that would eliminate the polling completely
>> -- would be to have the signal handler write the status code to a
>> pipe, and then have the glib mainloop watch the pipe.  Pretty sure
>> writing to a pipe is one of the few things 'allowed' in a signal
>> handler...
> 
> And here's a patch.  It compiles; that's all I know.  Presumably it
> should work too.  If someone wants to test it, I'll commit it if it
> works (or someone else can).

I'll give it a spin, thanks Brian!

Auke



More information about the Xfce4-dev mailing list