Libraryless. Click here for Pure Java version (128L/1K/5K).
1 | !747 |
2 | |
3 | m {
|
4 | !include #1000934 // class Q |
5 | |
6 | p {
|
7 | final new Q queue; |
8 | |
9 | thread { queue.run(); }
|
10 | |
11 | queue.add(runnable { print("Hello!"); });
|
12 | sleep(2000); |
13 | queue.add(runnable { print("Here we are again!"); });
|
14 | } |
15 | } |
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, teubizvjbppd, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1000933 |
| Snippet name: | Thread bridge example |
| Eternal ID of this version: | #1000933/1 |
| Text MD5: | f5b4f87dad266a0e183c9b87d7c4d48e |
| Transpilation MD5: | 4a6d40b69d3ccce14027e2ce9b301ff0 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX source code |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2015-09-12 17:13:47 |
| Source code size: | 249 bytes / 15 lines |
| Pitched / IR pitched: | No / Yes |
| Views / Downloads: | 1002 / 1174 |
| Referenced in: | [show references] |