threads icon indicating copy to clipboard operation
threads copied to clipboard

[interpreter] Fix registry to be per-thread

Open rossberg opened this issue 2 years ago • 2 comments

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.wast test to check thread scripting features
  • Include either patterns 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.

rossberg avatar Oct 19 '23 01:10 rossberg

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?

conrad-watt avatar Oct 19 '23 08:10 conrad-watt

I think it was adopted by relaxed SIMD tests, so I don't want to lose its correct integration with the threading implementation.

rossberg avatar Oct 19 '23 09:10 rossberg