// return true when interrupted static bool lightSleep(long ms) { try { Thread.sleep(ms); false; } catch (InterruptedException e) { true; } }
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: | #1006828 |
Snippet name: | lightSleep - sleeps until interrupted or some ms have passed |
Eternal ID of this version: | #1006828/3 |
Text MD5: | 2ae3efb639f80b67df08758c7c5ef7ee |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-02-05 06:14:37 |
Source code size: | 167 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 447 / 473 |
Version history: | 2 change(s) |
Referenced in: | [show references] |