static void busySleepSeconds(double seconds) { long end = sysNow()+toMS(seconds); while (sysNow() < end) ping(); }
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, vouqrxazstgt
No comments. add comment
Snippet ID: | #1008565 |
Snippet name: | busySleepSeconds - busy-sleep for a number of seconds (don't use this but for testing) |
Eternal ID of this version: | #1008565/2 |
Text MD5: | 66c5dd665550473948b13680b210988c |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-05-23 20:57:41 |
Source code size: | 121 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 436 / 475 |
Version history: | 1 change(s) |
Referenced in: | [show references] |