Documentation Home

Blocks the current thread until all jss::rcu_reader objects constructed before this call to jss::rcu_synchronize have been destroyed.

void rcu_synchronize();

Effects:

As if:

std::atomic<bool> done(false);
    jss::rcu_retire(&done,[](std::atomic<bool>*p){
        p->store(true);
    });
    jss::rcu_barrier();
Header

#include <jss/rcu.hpp>

See Also