>>>>> "RT" == RT Happe <rthappe@mathematik.uni-freiburg.de> writes:
RT> As of scsh-0.6.2, this
RT> (let ((x (make-fluid 'foo)))
RT> (let-fluid x 'bar
RT> (lambda ()
RT> (run (begin (display (fluid x))))
RT> ; (fork-thread (lambda () (display (fluid x))))
RT> (display (fluid x))
RT> (newline))))
RT> prints "foobar", or "bar" and "foo" with the FORK-THREAD instead of the
RT> RUN clause. While this may be a feature, it's not an evident one, and I
RT> would like the S48 and Scsh manuals to point out the interactions of
RT> fluid bindings and threads/processes. Presently they don't seem to do so.
Exactly. Meanwhile, you might enjoy checking out our brand-new paper
which is mainly about exactly this subject.
Martin Gasbichler, Michael Sperber: Processes vs. User-Level Threads
in Scsh , In The 2002 Scheme Workshop , Pittsburgh, Pa., October 2002.
It's available off
http://www-pu.informatik.uni-tuebingen.de/users/sperber/papers/
--
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla
|