Policy that enables tracking the id of the thread holding the lock.
Synopsis
Declared in <folly/SharedMutex.h>
struct PolicyTracked
: SharedMutexPolicyDefault
Base Classes
Name |
Description |
Default tuning and feature policy for SharedMutexImpl. |
Static Data Members
Name |
Description |
Number of soft yields to perform before blocking on a futex. |
|
Maximum number of CPU cycles to spin before yielding. |
|
Whether to skip ThreadSanitizer rwlock annotations. |
|
Enables tracking the id of the thread holding the lock. |
Created with MrDocs