From b905ea0b24f25423d289893970c4de8fa15a039e Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Mon, 16 Jan 2006 20:48:32 +0000 Subject: [PATCH] Added sleep(100) to inkey() and check node status loop to eliminate 100% CPU utilization bug (inkey used to sleep long ago). --- exec/sbbsimsg.js | 1 + 1 file changed, 1 insertion(+) diff --git a/exec/sbbsimsg.js b/exec/sbbsimsg.js index 6e31b28155..8f8b09936a 100644 --- a/exec/sbbsimsg.js +++ b/exec/sbbsimsg.js @@ -365,6 +365,7 @@ while(bbs.online) { console.crlf(); console.restoreline(); } + sleep(100); } // printf("key=%s\r\n",key); switch(key) { -- GitLab