summaryrefslogtreecommitdiff
path: root/src/js/primitives/call.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/primitives/call.js')
-rw-r--r--src/js/primitives/call.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/js/primitives/call.js b/src/js/primitives/call.js
index 92d7d09..48fe8ae 100644
--- a/src/js/primitives/call.js
+++ b/src/js/primitives/call.js
@@ -196,6 +196,7 @@ function callnarg() {
* probably un-necessary now, keeping in just in case for now
*/
calls4arg("thread_resume", read_u32(th), 0, 0, 0);
+ calls4arg("usleep", 10000, 0, 0, 0);
/*
* spin wait for return
@@ -215,7 +216,8 @@ function callnarg() {
calls4arg("thread_suspend", read_u32(th), 0, 0, 0);
return read_u32(thread_state);
}
- calls4arg("usleep", 1000, 0, 0, 0);
+
+ calls4arg("usleep", 10000, 0, 0, 0);
}
}