Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

15
LINES

< > BotCompany Repo | #1000933 // Thread bridge example

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (128L/1K/5K).

!747

m {
  !include #1000934 // class Q
  
  p {
    final new Q queue;

    thread { queue.run(); }
    
    queue.add(runnable { print("Hello!"); });
    sleep(2000);
    queue.add(runnable { print("Here we are again!"); });
  }
}

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: 601 / 645
Referenced in: [show references]