Lynn Quam <quam@...> writes:
> Can someone summarize the status of the pthread implementation in SBCL
> for AMD64 Linux?
As far as I know, there are no user-visible differences to SBCL on x86
> In particular, what are the restrictions w.r.t. pthread usage in
> foreign (alien) code? Can a foreign library use pthreads?
Foreign code can use pthreads internally, but it should not call back
into Lisp in non-Lisp threads.
Also, asynchronous signals are much more important for multithreaded
SBCL than for single-threaded one, and it's the area where
modularization is extremely hard. When foreign code does funny things to
signal handlers and masks, or expects other code not to do funny things,
it has higher chances to break multithreaded SBCL than to break a
single-threaded one. What's important here is whether threading is
enabled in SBCL, rather than actual use of more than one threads.
Regards, Anton Kovalenko <http://www.siftsoft.com/support-sbcl-windows.html>
+7(916)345-34-02 | Elektrostal' MO, Russia