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

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -