Interpreter: Add locking for communication with external interpreter
This adds locking to communication with the external interpreter to prevent concurrent tasks interfering with each other. This fixes Template Haskell with the external interpreter in parallel (-j) builds. Fixes #25083
Showing
- compiler/GHC/Runtime/Interpreter.hs 2 additions, 0 deletionscompiler/GHC/Runtime/Interpreter.hs
- compiler/GHC/Runtime/Interpreter/JS.hs 2 additions, 0 deletionscompiler/GHC/Runtime/Interpreter/JS.hs
- compiler/GHC/Runtime/Interpreter/Process.hs 54 additions, 23 deletionscompiler/GHC/Runtime/Interpreter/Process.hs
- compiler/GHC/Runtime/Interpreter/Types.hs 1 addition, 0 deletionscompiler/GHC/Runtime/Interpreter/Types.hs
- compiler/GHC/Runtime/Interpreter/Wasm.hs 3 additions, 1 deletioncompiler/GHC/Runtime/Interpreter/Wasm.hs
- testsuite/tests/th/T25083.hs 21 additions, 0 deletionstestsuite/tests/th/T25083.hs
- testsuite/tests/th/T25083.stdout 2 additions, 0 deletionstestsuite/tests/th/T25083.stdout
- testsuite/tests/th/T25083_A.hs 10 additions, 0 deletionstestsuite/tests/th/T25083_A.hs
- testsuite/tests/th/T25083_B.hs 8 additions, 0 deletionstestsuite/tests/th/T25083_B.hs
- testsuite/tests/th/all.T 1 addition, 0 deletionstestsuite/tests/th/all.T
testsuite/tests/th/T25083.hs
0 → 100644
testsuite/tests/th/T25083.stdout
0 → 100644
testsuite/tests/th/T25083_A.hs
0 → 100644
testsuite/tests/th/T25083_B.hs
0 → 100644
Please register or sign in to comment