From c147222514a38ec2f00d36573a1ff7a5450836c6 Mon Sep 17 00:00:00 2001 From: spv420 Date: Sun, 24 Apr 2022 08:07:27 -0400 Subject: professional commit message --- src/js/main.js | 4 ++-- src/js/primitives/call.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/js') diff --git a/src/js/main.js b/src/js/main.js index 4c5ca98..908b582 100644 --- a/src/js/main.js +++ b/src/js/main.js @@ -48,8 +48,8 @@ function main() { var i = 0; while (true) { - syslog(LOG_SYSLOG, "get rekt from jsc %d (slide=%x)\n", i, slide); - sleep(1); + scall("printf", "get rekt from jsc %d (slide=%x)\n", i, slide); + sleep(0); i++; } diff --git a/src/js/primitives/call.js b/src/js/primitives/call.js index 419875f..af9ede0 100644 --- a/src/js/primitives/call.js +++ b/src/js/primitives/call.js @@ -199,7 +199,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); + calls4arg("usleep", 1000, 0, 0, 0); /* * spin wait for return @@ -220,7 +220,7 @@ function callnarg() { return read_u32(thread_state); } - calls4arg("usleep", 10000, 0, 0, 0); + calls4arg("usleep", 1000, 0, 0, 0); } } -- cgit v1.2.3