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

Brian J. Tarricone bjt23 at cornell.edu
Thu May 24 09:26:53 CEST 2007


-----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).

	-brian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (GNU/Linux)

iD8DBQFGVT5G6XyW6VEeAnsRAp7dAJ0U8NrmZss5D63h2ya70dV/fITjlwCfdjed
8qifUfeo/vyQDg/bG3d57mc=
=EW1o
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mcs-manager-nopoll.diff
Type: text/x-patch
Size: 3682 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20070524/dc169c64/attachment.bin>


More information about the Xfce4-dev mailing list