[xmonad] exiting: asking for confirmation (or a four-key combination)

Brandon Allbery allbery.b at gmail.com
Wed Nov 16 00:44:44 CET 2011


On Mon, Nov 14, 2011 at 13:58, Ferenc Wagner <wferi at niif.hu> wrote:

> Brandon Allbery <allbery.b at gmail.com> writes:
> > More generally, Unix/POSIX lacks a good event-based interface which
> > can detect non-file-like events; many things map to signals, which can
> > be sort of handled gracefully with some hackery in C but are not
> > handled particularly well by GHC's runtime.
>
> I guess you miss the Linux-only signalfd/eventfd, right?


"Linux-only" is the problem there.  I know Linux folk like to imagine they
define Unix and POSIX, but there are others out there still.  Same problem
with BSD's kqueue:  I can't use it on Linux and only to a limited extent on
OS X which has still another mechanism of its own (Mach ports).

It's the *portable* general event interface that is missing.

-- 
brandon s allbery                                      allbery.b at gmail.com
wandering unix systems administrator (available)     (412) 475-9364 vm/sms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/xmonad/attachments/20111115/7be1fa8c/attachment.htm>


More information about the xmonad mailing list