[slang-users] S-Lang Thread-Safe?

John E. Davis davis at space.mit.edu
Thu Jan 12 11:54:16 EST 2006


Marius M. M. <0x0090 at gmail.com> wrote:
>I would like to know if the S-Lang library (currently using 1.4.9) is
>thread-safe or not? Example: Is it possible to let a Keyboard-Input and
>a Drawing thread run separated from the program-main() that called the
>S-Lang init functions without getting abstruse errors or misbehaviours?
>Thanks,

The interpreter is reentrant, but not thread safe.  The SLang_init
functions should be called once.

--John




More information about the slang-users-l mailing list