threads
threads copied to clipboard
[interpreter] Fix registry to be per-thread
Also:
- Fix module registration in tests to make them pass again
- Update run.py script to actually run threads tests
- Re-add and extend original
thread.wasttest to check thread scripting features - Include
eitherpatterns from main that got lost on upstream-rebuild
Also, I noticed that the JS translation still can't handle the thread feature of test scripts. I opened #218.
None of the tests are really able to use either - it would need to take values with full "result types" (i.e. lists of values rather than single values) to support moving the current result logic into the assertion (in general). Are you very attached to it?
I think it was adopted by relaxed SIMD tests, so I don't want to lose its correct integration with the threading implementation.