[elephant-devel] More work on BDB interrupt-proofing

Leslie P. Polzer sky at viridian-project.de
Sun Nov 22 18:28:10 UTC 2009


Red Daly wrote:

> Why do these sections require WITHOUT-INTERRUPTS instead of locking?
> WITHOUT-INTERRUPTS is deprecated in Allegro, and in lisps running on
> multiple cores, it seems to have no atomicity guarantees that are
> immediately relevant to me.
>
> Quoted below is the Allegro documentation.  I'm not sure if
> WITHOUT-INTERRUPTS has the same semantics in other lisps:

I don't know about Allegro but on SBCL for example locks and
without-interrupts are orthogonal. The latter is all about
asynchronous POSIX signals.

  Leslie

-- 
http://www.linkedin.com/in/polzer





More information about the elephant-devel mailing list