Re: native threads
Tim McNerney <[email protected]> Fri, 5 Jan 2024 13:59:45 -0500
| Newsgroups | gmane.lisp.openmcl.devel |
|---|---|
| Message-ID | <[email protected]> |
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? > > > > > >