3 ms·
MzScheme is an implementation of Scheme (dialect of Lisp); it implements its own threading. This is not uncommon for languages which support (or used to suppor
by metageek 16y ago
MzScheme is an implementation of Scheme (dialect of Lisp); it implements its own threading. This is not uncommon for languages which support (or used to support) many OSes, with many different versions of threading: it's easier to write it yourself, once, than maintain N+1 OS-specific versions.
Of course, these days, N+1 is probably 2, since everything except Windows supports pthreads.
- blinkingled 16y agoIf it's just a porting issue, there is Pthreads-win32 which worked well enough the last time I used it few years ago.
- metageek 16y agoI don't know the details. I suspect the answer is that the threading support was written when pthread support was less common, and the MzScheme developers haven't been sufficiently interested in rewriting it.
- elibarzilay 16y agoRacket now includes a new facility -- "features" -- which are essentially a lightweight OS-level thread. There's also another -- "places" -- which is a more separated heavy threads (closer to a new process), but that one is not enabled by default.