ZXFoundation™ 26h2
Loading...
Searching...
No Matches
zxfoundation::sync::lock_guard< L > Struct Template Referenceexport

Standard blocking lock guard. More...

Public Member Functions

 lock_guard (const lock_guard &)=delete
 lock_guard (L &l) noexcept
 Acquire the lock (blocking).
 lock_guard (lock_guard &&)=delete
auto operator= (const lock_guard &)=delete
auto operator= (lock_guard &&)=delete
 ~lock_guard () noexcept
 Release the lock.

Detailed Description

template<lockable L>
struct zxfoundation::sync::lock_guard< L >

Standard blocking lock guard.

Template Parameters
LA type satisfying the lockable concept.

The documentation for this struct was generated from the following file:
  • zxfoundation/sync/lockable.cxxm