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