[Haskell-beginners] Signals and external bindings...

Brandon Allbery allbery.b at gmail.com
Fri May 4 22:18:54 CEST 2012


On Fri, May 4, 2012 at 3:55 PM, Antoine Latter <aslatter at gmail.com> wrote:

> On Fri, May 4, 2012 at 1:19 PM, Brandon Allbery <allbery.b at gmail.com>
> wrote:
> > On Fri, May 4, 2012 at 1:26 PM, Mike Meyer <mwm at mired.org> wrote:
> >> But I realized I never got a more fundamental question answered: when
> >> does a signal handler written in Haskell run? Is it like C, in that it
> >
> > I'm not sure it *does* run.  That is, I don't think a Haskell-based
> signal
> > handler is even possible.  When I talk about Haskell's signal handlers, I
> > mean C handlers within the GHC runtime.
>
> Well, there is this:
>
>
> http://www.haskell.org/ghc/docs/latest/html/libraries/unix-2.5.1.0/System-Posix-Signals.html#g:4


OK, looks like that does what I said in my final paragraph (which was
written based on the runtime Signals.c source).

-- 
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/beginners/attachments/20120504/9fc83db8/attachment.htm>


More information about the Beginners mailing list