This function requires you to log in. Please enter your login details
View Problem
Create a multithreaded "Hello World"
Create a program which outputs the string
Example:
-Output-
Thread one says Hello World!
Thread two says Hello World!
Thread four says Hello World!
Thread three says Hello World!
-Notice that the threads can print in any order.
There are 11 other solutions in additional languages (clojure, cpp, erlang, fsharp ...)
"Hello World" to the console, multiple times, using separate threads or processes.
Example:
-Output-
Thread one says Hello World!
Thread two says Hello World!
Thread four says Hello World!
Thread three says Hello World!
-Notice that the threads can print in any order.
There are 11 other solutions in additional languages (clojure, cpp, erlang, fsharp ...)
