Run Code  | Code Wall  | Users  | Misc  | Feedback  | About  | Login  | Theme  | Privacy 

6.4 Parallelism: threads and events

Language: Editor: Layout:
+ ] Show input
Compilation time: 0.12 sec, absolute running time: 0.11 sec, cpu time: 0.08 sec, average memory usage: 17 Mb, average nr of threads: 5 (cached) 
fork mode |  history  | discussion
Main thread: 5
I'm a newly started thread: 6
This code runs on the thread that triggered the event: 6