#include <guards.h>
ReadGuard.
ReadGuard constructor.
The node is read exactly as if node->mutex()->read() was called. The internal node data is then updated according to the current SyncMode, and can be safely accessed with node->data() until this Guard goes out of scope.
node->mutex()->read()
node->data()
ReadGuard destructor.
Releases the read operation.