summaryrefslogtreecommitdiff
path: root/src/js/primitives
diff options
context:
space:
mode:
authorspv420 <unomilliono@gmail.com>2022-04-24 07:27:47 -0400
committerspv420 <unomilliono@gmail.com>2022-04-24 07:27:47 -0400
commit202fff8a0da664f8aa4e03e9e9e11fe0b8d87199 (patch)
treedd7052eba54df7f7d24c92a2301c0da28260f9e1 /src/js/primitives
parent7fdce8d27df9fa1288238c4829961f1e97f71c31 (diff)
yeet
Diffstat (limited to 'src/js/primitives')
-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);
}
}