A lock-holder base which holds upgrade locks, usable with any upgrade mutex.
Declared in <folly/synchronization/Lock.h>
template<typename Mutex>
class upgrade_lock_base
: public /* implementation-defined */
| Name | Description |
|---|---|
/* implementation-defined */ |
| Name | Description |
|---|---|
swap | Swaps the held lock state with another lock holder. |
| Name |
|---|
Unnamed using |
| Name | Description |
|---|---|
folly::swap | Swaps the held lock state of two lock holders. |
| Name | Description |
|---|---|
upgrade_lock | A lock-holder type which holds upgrade locks, usable with any upgrade mutex. |