Run Code  | API  | Code Wall  | Users  | Misc  | Feedback  | Login  | Theme  | Privacy  | Blog 

6. Parallelism: threads

Language: Layout:
+ ] Show input
Compilation time: 0.14 sec, absolute running time: 5.13 sec, cpu time: 0.11 sec, average memory usage: 22 Mb, average nr of threads: 7 
edit mode |  history  | discussion
Hello from main thread!
Hello from another thread!
Hello from another thread (taken from the pool this time!)
Hello from task-created thread!

    
                
stackse - search stackoverflow differently