Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

4
LINES

< > BotCompany Repo | #1011598 - busySleepSeconds_noPing - extra-hard busy-sleep (ONLY for testing)

JavaX fragment (include)

static void busySleepSeconds_noPing(double seconds) {
  long end = sysNow_noPing()+toMS(seconds);
  while (sysNow_noPing() < end);
}

Author comment

Began life as a copy of #1008565

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, xrpafgyirdlv

No comments. add comment

Snippet ID: #1011598
Snippet name: busySleepSeconds_noPing - extra-hard busy-sleep (ONLY for testing)
Eternal ID of this version: #1011598/3
Text MD5: 151b161dbb2ef416f19c0cfca2ff6c8d
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-07-09 10:48:22
Source code size: 135 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 252 / 278
Version history: 2 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1011598 & http://1011598.tinybrain.de