Documentation Home

Construct a new jss::rcu_reader object, and transfers any read-side critical section associated with the other value to the newly-constructed object.

rcu_reader(rcu_reader&& other);

Effects:

Constructs a jss::rcu_reader instance. Any read-side critical section associated with other is now associated with *this. other no longer has an associated read-side critical section.

Requires:

If other is associated with a read-side critical section, the invocation of this constructor must be on the same thread that started the read-side critical section associated with other.

Throws:

Nothing.

Synchronization:

None.

See Also