[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: OS-implemented threads
Matthew Flatt writes:
> With the recent changes to MzScheme, I inspected at a lot more code
> than normal in a short time; and I saw lots and lots of bugs in the
> support for OS-implemented threads, mainly in terms of unprotected
> shared variables and structures.
I stopped sending bug reports, because it was useless to test code, which
contained so many bugs. I guessed You were going to reconsider the code and
to fix these bugs in 200.
> In theory, OS-implemented threads provide the benefit of parallelism on
> multiprocessor machines. In practice, that's where MzScheme would be
> most likely to crash. Given the problems and the relative lack of bug
> reports, I doubt that anyone uses it. Obviously I don't.
I would use it if it worked. Without native threads, I'm unable to use
mzscheme threads, because I have some mzscheme extensions, witch use
blocking I/O. I think you have this problem too with both COM and ODBC
extensions.
Ilia