Marco Costalba
ccad601389
Avoid locking/unlocking in a tight loop
...
After previous patch if split point master is
waiting for job and "Use Sleeping Threads" is
false (our condition for official releases) then
it will lock/unlock splitPoint mutex in a super
tight loop badly affecting performance.
Rewrite the code to lock only when we are about
to finish. Note that race condition on slavesMask
is anyhow fixed.
No functional change.
2013-03-04 09:07:48 +01:00
..
2013-03-02 13:08:50 +01:00
2013-02-19 07:54:14 +01:00
2013-02-19 07:54:14 +01:00
2013-02-19 07:54:14 +01:00
2013-02-19 07:54:14 +01:00
2013-02-19 07:54:14 +01:00
2013-02-19 07:54:14 +01:00
2013-02-19 07:54:14 +01:00
2013-02-19 07:54:14 +01:00
2013-02-20 12:39:09 +01:00
2013-02-19 07:54:14 +01:00
2013-02-19 07:54:14 +01:00
2013-02-21 05:51:04 +01:00
2013-02-19 07:54:14 +01:00
2013-02-19 07:54:14 +01:00
2013-02-21 07:19:48 +01:00
2013-02-19 07:54:14 +01:00
2013-02-19 07:54:14 +01:00
2013-02-19 07:54:14 +01:00
2013-03-01 09:44:19 +01:00
2013-02-19 07:54:14 +01:00
2013-02-19 07:54:14 +01:00
2013-02-19 07:54:14 +01:00
2013-02-23 19:27:32 +01:00
2013-02-19 07:54:14 +01:00
2013-02-19 07:54:14 +01:00
2013-02-19 20:06:01 +01:00
2013-02-19 07:54:14 +01:00
2013-02-19 07:54:14 +01:00
2013-02-19 07:54:14 +01:00
2013-03-04 09:07:48 +01:00
2013-03-02 13:08:50 +01:00
2013-03-04 09:07:48 +01:00
2013-03-02 13:08:50 +01:00
2013-02-19 07:54:14 +01:00
2013-02-19 07:54:14 +01:00
2013-02-19 07:54:14 +01:00
2013-02-19 07:54:14 +01:00
2013-02-19 07:54:14 +01:00
2013-03-02 13:08:50 +01:00
2013-02-19 07:54:14 +01:00
2013-02-19 07:54:14 +01:00