in reply to How to create separate threads for concurrent execution?
You are launching three threads, and they are running in parallel. As to why only one of them creates output, we have no clue since we know nothing of the code that runs in each thread.