Libraryless. Click here for Pure Java version (3021L/18K).
// runnable = Runnable or String (method name) static Thread newThread(O runnable) { ret new BetterThread(_topLevelErrorHandling(toRunnable(runnable))); } static Thread newThread(O runnable, S name) { if (name == null) name = defaultThreadName(); ret new BetterThread(_topLevelErrorHandling(toRunnable(runnable)), name); } static Thread newThread(S name, O runnable) { ret newThread(runnable, name); }
Began life as a copy of #1005526
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1005527 |
| Snippet name: | newThread - make BetterThread |
| Eternal ID of this version: | #1005527/9 |
| Text MD5: | 5ff0df8443f61f72023c0ebbeab338a4 |
| Transpilation MD5: | 61250e9a02fe6a28542c17f2c3bfcfb5 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-06-25 13:01:11 |
| Source code size: | 423 bytes / 13 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 943 / 1097 |
| Version history: | 8 change(s) |
| Referenced in: | [show references] |