multithreading - Sequential and running in one thread time difference c++ -
My source code for testing multithat performance in C ++. Please tell me that 5x short time to run a thread Why is WaitForMultipleObject () so first sequential performance. I expect almost the same result for sequential performance and I am just going with one thread. Thanks
The OS will decide when your thread should be running and also fixed To do that the dispatch is needed, perhaps. Add to it, this is also to create a separate pile for your thread, maybe
read about overhead on thread construction. Everything is overhead system specific,
Comments
Post a Comment