-
-
Notifications
You must be signed in to change notification settings - Fork 9.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
It turns out that (particularly on macosx 14), its possible that stochastic scheduling will result in the write side of the rcu test running frequently, resulting in wraps of the counter used in the test (even when its a uint64_t). Address this by allowing single wraps of the counter (i.e. the old value of the counter can be larger than the new value, but only once). Only fail the test if multiple iterations find that the counter has gone backwards
- Loading branch information
Showing
1 changed file
with
33 additions
and
4 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