For I/O, there may be missing locks to ensure that separate processors don’t do I/O on a port at the same time. I haven’t tested this thoroughly.
> Can I do TCP/console/file IO from any OS & green thread, or from some particular one, which and how do I ensure that?
Keeping all I/O in a single thread is definitely the safest scenario to avoid locking issues. Just assign these tasks to a single thread. All other threads should not do I/O.
> (http://www.iro.umontreal.ca/~gambit/doc/gambit.html#Threads says "Gambit supports the execution of multiple Scheme threads. These threads are managed entirely by Gambit’s runtime and are not related to the host operating system’s threads. Gambit’s runtime does not currently take advantage of multiprocessors (i.e. at most one thread is running).", will need update.)
Will update when this is no longer true. I view --enable-smp as experimental…
I need feedback from people using SMP to weed out problems.