You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to Rcu.h, the purpose of rcu_synchronize() is to wait for all pre-existing readers to finish. The function that "waits for all in-flight deleters to complete" is rcu_barrier(). Since the test expects foo's deleter to have run, it should call rcu_barrier().
I believe this applies to the following RcuTest tests:
Guard
NewDomainGuardTest
ThreadDeath
RcuObjBase
The text was updated successfully, but these errors were encountered:
Some RCU tests assert that deleters have run. For example,
RcuTest.Guard
(where settingdel
to true is a side effect offoo
's destructor):According to
Rcu.h
, the purpose ofrcu_synchronize()
is to wait for all pre-existing readers to finish. The function that "waits for all in-flight deleters to complete" isrcu_barrier()
. Since the test expectsfoo
's deleter to have run, it should callrcu_barrier()
.I believe this applies to the following
RcuTest
tests:Guard
NewDomainGuardTest
ThreadDeath
RcuObjBase
The text was updated successfully, but these errors were encountered: