Documentation Home

Construction of an instance r of jss::rcu_reader prevents reclamation of any objects registered with jss::rcu_retire prior to the destruction of that instance r.

namespace jss
{
    class rcu_reader{
    public:
        rcu_reader();
        rcu_reader(std::defer_lock_t);
        ~rcu_reader();

        rcu_reader(rcu_reader&&other);
        rcu_reader& operator=(rcu_reader&&other);

        void swap(rcu_reader&other);
    };

    void swap(rcu_reader& lhs,rcu_reader& rhs);
}
Header

#include <jss/rcu.hpp>

See Also