summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) {