cds
2.3.2
|
[type-option] RCU check deadlock option setter More...
#include <cds/urcu/options.h>
[type-option] RCU check deadlock option setter
The RCU containers can check if a deadlock between read-side critical section and synchronize
call is possible. This option specifies a policy for checking this situation. Possible Type
is:
opt::v::rcu_no_check_deadlock
- no deadlock checkingopt::v::rcu_assert_deadlock
- call assert
in debug mode onlyopt::v::rcu_throw_deadlock
- throw an cds::urcu::rcu_deadlock
exception when a deadlock is encounteredUsually, the default Type
for this option is opt::v::rcu_throw_deadlock
.