data_structures_test.cpp
10 KB
-
Yield thread if there is (probably) no more work. · 65409e0a
The scheduler yields if it failed to steal any work due to the task lists being empty. This should improve performance on multiprogrammed systems, as it potentially makes room for other worker threads which still have work to perform.
FritzFlorian committed