Chris Vine <[email protected]> writes:
> Unfortunately, from what Mark Weaver says, the module system doesn't
> initialize itself in a thread safe way either :(.
That's not quite right. It initializes itself in a thread safe way.
However, _after_ initialization, it does not load modules in a thread
safe way.
> That is more problematic because you might not know in advance what
> modules are to be loaded by any particular code. The task model isn't
> suppose to import cross-dependencies of that kind.
I can see that this is a serious problem, and I'm going to focus on
fixing it properly and soon, hopefully in the next two weeks.
Mark