1 | // runnable = Runnable or String (method name) |
2 | static Thread lowerPriorityThread(O runnable) { |
3 | Thread thread = newThread(runnable); |
4 | thread.setPriority(Thread.NORM_PRIORITY-1); |
5 | startThread(thread); |
6 | ret thread; |
7 | } |
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1005526 |
Snippet name: | lowerPriorityThread - start thread with slightly lower priority (NORM_PRIORITY-1) |
Eternal ID of this version: | #1005526/2 |
Text MD5: | 87b3631546b0710c04a5a53eca47b2c7 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-10-14 00:14:20 |
Source code size: | 225 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 593 / 614 |
Version history: | 1 change(s) |
Referenced in: | [show references] |