summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuite Stegeman <stegeman@gmail.com>2022-12-07 17:34:17 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-12-09 09:43:38 -0500
commit5b007ec52ba77051fedd2b9a6fb155b248081511 (patch)
tree69b60571ced58998b3d17bdf02e2edec86010b12
parent79b0cec060594edac144d1b4d6c2c809a8d75fab (diff)
downloadhaskell-5b007ec52ba77051fedd2b9a6fb155b248081511.tar.gz
Fix bound thread status
-rw-r--r--rts/js/thread.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/js/thread.js b/rts/js/thread.js
index 3f179dcbcd..081749a015 100644
--- a/rts/js/thread.js
+++ b/rts/js/thread.js
@@ -153,7 +153,7 @@ function h$forkThread(a, inherit) {
function h$threadStatus(t) {
// status, capability, locked
- RETURN_UBX_TUP3(t.status, 1, 0);
+ RETURN_UBX_TUP3(t.status, 0, 1);
}
function h$waitRead(fd) {