Lisp HUG Maillist Archive

MP/threads constraint in LW User Guide

[I apologize if this turns out to be a duplicate message.]


Section 14.4.1 of the LispWorks User Guide -- entitled "Native threads
on Windows" -- mentions the following constraint:

,----
| Each Lisp mp:process has a separate native thread.
| 
| Lisp code can only run in one thread at a time and uses a lock to
| enforce this.
`----

Does the second sentence imply that no two mp:processes running Lisp
code can execute concurrently? If so, what is the advantage in using
native threads for these processes, given that LW is still controlling
the scheduling with an apparently global lock?

My inquiry concerns writing a network server application with
LispWorks that might use a thread-per-connection approach: Does the
quote above imply that no two of these threads could service their
connections concurrently?

-- 
Steven E. Harris


Re: MP/threads constraint in LW User Guide

Unable to parse email body. Email id is 5596

Updated at: 2020-12-10 08:48 UTC