Question: How expensive are threads? Write a program that times how long it takes o create and then join 1000 threads, where each thread simply calls
How expensive are threads? Write a program that times how long it takes o create and then join 1000 threads, where each thread simply calls thread_exit(0) as soon as it starts running.
Please write in C
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
