MutexGuard class
Holds a Mutex for a scope.
On this page
- Use
import ThinkMeta.ConcurrentTasks.Platform.Mutex;- Namespace
ThinkMeta::ConcurrentTasks::Platform- Platforms
- Windows, Linux
Syntax
class MutexGuardConstructors
MutexGuard
Takes mutex.
Syntax
explicit MutexGuard(Mutex& mutex) noexcept;Parameters
mutexMutex&- The mutex to hold until the guard ends.
~MutexGuard
Generated from ThinkMeta.ConcurrentTasks.API @ da816bc (2026-11-06).