|
| | SegmentLock (mutex &lock) |
|
| SegmentLock (const SegmentLock &other)=delete |
|
SegmentLock & | operator= (const SegmentLock &)=delete |
| | SegmentLock (SegmentLock &&other) noexcept |
| | enable move constructors
|
| SegmentLock & | operator= (SegmentLock &&other) noexcept |
| void | Release () |
|
|
unique_lock< mutex > | lock |
◆ SegmentLock() [1/3]
| duckdb::SegmentLock::SegmentLock |
( |
| ) |
|
|
inline |
◆ SegmentLock() [2/3]
| duckdb::SegmentLock::SegmentLock |
( |
mutex & | lock | ) |
|
|
inlineexplicit |
23489 : lock(lock) {
23490 }
◆ SegmentLock() [3/3]
| duckdb::SegmentLock::SegmentLock |
( |
SegmentLock && | other | ) |
|
|
inlinenoexcept |
enable move constructors
23495 {
23496 std::swap(lock, other.lock);
23497 }
◆ operator=()
| SegmentLock & duckdb::SegmentLock::operator= |
( |
SegmentLock && | other | ) |
|
|
inlinenoexcept |
23498 {
23499 std::swap(lock, other.lock);
23500 return *this;
23501 }
◆ Release()
| void duckdb::SegmentLock::Release |
( |
| ) |
|
|
inline |
23503 {
23504 lock.unlock();
23505 }
The documentation for this struct was generated from the following file: