-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add stress test for atomic_shared_ptr
Summary: None of the existing unit tests exercises the local -> global refcount transfer, which is the most critical part in `atomic_shared_ptr` in terms of correctness, so add a stress test that `load()`s the pointer enough times to trigger a transfer. Reviewed By: dmm-fb Differential Revision: D39927439 fbshipit-source-id: a8a50e33dd4afd1bd7bf0a2c309d92503bfb949c
- Loading branch information
1 parent
ece9ed1
commit 0a3f724
Showing
1 changed file
with
43 additions
and
0 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