← OYO questions

One process with one thread versus a process with ten threads

Filed under OYO

The question

Two processes each print hello 100 times in total: one uses a single thread printing 100 times, the other uses 10 threads printing 10 times each. Which is better and why?

No write-up yet. Related questions below have one.

Related OYO questions

Collected from public candidate posts and coding forums. Updated Nov 2026.