[Openmcl-devel] native threads

Tim McNerney mc at media.mit.edu
Fri Jan 5 10:59:45 PST 2024


My company uses Franz's SMP "Allegro" CL.  By no means am I arguing, but 
I also didn't know you could turn off SMP.
Of course you can use their old, non-SMP Lisp build, but who would want 
to do that, unless your code isn't SMP-tolerant?
We sort of lucked out because of the way we wrote our apps, so we can 
safely translate WITHOUT-INTERRUPTS to PROGN.

On 1/5/24 1:54 PM, David McClain wrote:
> Hi Shannon,
>
>> Threads in CCL since version 0.14 (which was a long time ago) are native and thus preemptively scheduled by the operating system. Unlike in Allegro CL and Lispworks, SMP cannot easily be turned off in CCL: It's always on. And there is no "CCL scheduler”.
> I’d like to better understand your statement about “turning off SMP”. I didn’t think that was up to an application program, but was “wired” into the system by the underlying OS. I’m unaware of how to turn off SMP from within Lispworks.
>
> Can you elucidate?
>
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clozure.com/pipermail/openmcl-devel/attachments/20240105/4a676e26/attachment.htm>


More information about the Openmcl-devel mailing list