Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't reparent if a cutoff is pending
And update master->splitPointsCnt under lock protection. Not stricly necessary because single_bit() condition takes care of false positives anyhow, but it is a bit tricky and moving under lock is the most natural thing to do to avoid races with "reparenting". No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
- Loading branch information
Showing
2 changed files
with
18 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters