1 | // firstDelay = delay |
2 | static FixedRateTimer doEvery_daemon_highPriority(long delay, final O r) { |
3 | ret doEvery_daemon_highPriority(delay, delay, r); |
4 | } |
5 | |
6 | static FixedRateTimer doEvery_daemon_highPriority(long delay, long firstDelay, fO r) { |
7 | ret doEvery_daemon(delay, firstDelay, r { |
8 | highThreadPriority(); |
9 | callF(r); |
10 | }); |
11 | } |
12 | |
13 | static FixedRateTimer doEvery_daemon_highPriority(double delaySeconds, final O r) { |
14 | ret doEvery_daemon_highPriority(toMS(delaySeconds), r); |
15 | } |
Began life as a copy of #1006482
download show line numbers debug dex old transpilations
Travelled to 11 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1019746 |
Snippet name: | doEvery_daemon_highPriority - not perfect yet (should probably set priority earlier) |
Eternal ID of this version: | #1019746/1 |
Text MD5: | 594ff243cc22007145c3cde6a7abdf92 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-11-24 16:52:41 |
Source code size: | 489 bytes / 15 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 333 / 385 |
Referenced in: | [show references] |