mit-scheme-devel
[Top][All Lists]
Advanced

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

Re: [MIT-Scheme-devel] Symmetric MultiProcessing


From: Taylor R Campbell
Subject: Re: [MIT-Scheme-devel] Symmetric MultiProcessing
Date: Mon, 23 Feb 2015 23:13:58 +0000
User-agent: IMAIL/1.21; Edwin/3.116; MIT-Scheme/9.1.99

   Date: Mon, 23 Feb 2015 16:01:13 -0700
   From: Friar Puck <address@hidden>

   The condvar.scm file already serializes its operations, yet still uses
   without-interrupts, presumably for another reason.  I am guessing that
   the intention is to stave off "aborts" or ANY keyboard interrupt that
   could eventually throw and leave globally accessible (by threads other
   than The Aborted One) data structures inconsistent.

Correct.  Same with, e.g., the WITHOUT-INTERRUPTS in hashtb.scm.

   Or without-keyboard-interrupts is just needlessly wordy and adds to
   the size of the SMP patches.  In the end, without-interrupts can be
   changed to use with-thread-events-blocked, allowing thread switching
   where it will do no harm.  Which to choose?

It's not about threads per se, and it's not about the keyboard per se.
If you want a name other than WITHOUT-INTERRUPTS for greppability's
sake, how about WITHOUT-INTERRUPTION?



reply via email to

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