NOTE: This API is deprecated. Use lock(), wlock(), rlock() or the withLock functions instead. In the future it will be marked with a deprecation attribute to emit build‐time warnings, and then it will be removed entirely.

Synopsis

Declared in <folly/Synchronized.h>

#define SYNCHRONIZED_CONST(…​)

Description

Similar to SYNCHRONIZED, but only uses a read lock.

Created with MrDocs