chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Signal woes.


From: Robin Lee Powell
Subject: Re: [Chicken-users] Signal woes.
Date: Sun, 22 Jul 2007 13:25:23 -0700
User-agent: Mutt/1.5.13 (2006-08-11)

On Fri, Jul 20, 2007 at 06:54:29PM -0700, Robin Lee Powell wrote:
> 2.  A grotesque hack using foreign code and setitimer and such.
> You can find this hack at http://paste.lisp.org/display/44881.
> The problem here is that if the interrupt kicks off when the
> program is busy, the whole program hangs with 100% CPU usage.  I
> suspect, but cannot confirm, that this only happens when the code
> is in one of the C libraries at the time.  Wrapping busy bits of
> the code in (set-signal-handler! signal/alrm #f) /
> (set-signal-handler! signal/alrm actual-call) seems to "solve" the
> problem, but that's an unfortunate solution at best.

It's worth noting that the hack of "turn of signals whenever you're
processing actual user input" seems to be working OK for the time
being.

-Robin

-- 
http://www.digitalkingdom.org/~rlpowell/ *** http://www.lojban.org/
Reason #237 To Learn Lojban: "Homonyms: Their Grate!"
Proud Supporter of the Singularity Institute - http://singinst.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]