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

10
LINES

< > BotCompany Repo | #1020836 // Thread Test

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

Download Jar. Libraryless. Click here for Pure Java version (1780L/12K).

!7

p {
  thread { print("hello"); }
  Thread t = thread { print("t"); };
  Thread t2 = id(thread { print("t"); });
  Thread t3 = returnSecondArgument(null, thread { print("t"); });
  Thread t4 = thread "T4" { print("t4"); };
  thread "T5" { print("t5"); }
}

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1020836
Snippet name: Thread Test
Eternal ID of this version: #1020836/5
Text MD5: 249c461a60d9c53fb1c5db06dc25073b
Transpilation MD5: b812919a6c12c2e42d4a92fca176f038
Author: stefan
Category: javax
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-01-03 23:34:39
Source code size: 267 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 356 / 964
Version history: 4 change(s)
Referenced in: [show references]