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) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (41L/1K).

1  
static void busySleepSeconds_noPing(double seconds) {
2  
  long end = sysNow_noPing()+toMS_noPing(seconds);
3  
  while (sysNow_noPing() < end);
4  
}

Author comment

Began life as a copy of #1008565

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, 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/4
Text MD5: 2cd843ecd148abb914a3dca0c7f5b4ee
Transpilation MD5: 6d2db1eacdbed3a4886a975a17dd8f11
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-09-24 21:49:00
Source code size: 142 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 514 / 608
Version history: 3 change(s)
Referenced in: [show references]