On Tue, 3 Dec 2002, Martin Cracauer wrote:

> 
> David Hanley wrote on Tue, Dec 03, 2002 at 11:13:26AM -0800: 
> > 
> > 
> > 
> > > > And how is this going to work, say, under CMUCL
> > > where
> > > > yield() is needed?
> > > 
> > > By putting calls to process-yield in your portable
> > > code :)  This is, of
> > > course, only needed if you don't block for I/O.
> > 
> > I've never liked this solution.  It has the obvious
> > problem that i need to go into libraries and insert
> > these yields.  It also creates performance issues with
> > tight long loops.  
> > 
> > I know, i should be fixing, not complaining...  If
> > only i had the time.... 
> 
> Doesn't a past release of the Franz Allegro compiler automatically
> insert yield's into compiled code unless you forbit it to do that? In
> 5.0 they still do that for keyboard interrupt checking.
> 
I believe that both Franz and OpenMCL, and probably others, insert an
explicit interrupt check at the head of loops and at function calls.

Tim



Reply via email to