Preliminary. ThinkMeta ConcurrentTasks and this documentation are preliminary; everything is subject to change.

API reference / Platform

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

Constructors

MutexGuard

Takes mutex.

Syntax

explicit MutexGuard(Mutex& mutex) noexcept;

Parameters

mutexMutex&
The mutex to hold until the guard ends.

~MutexGuard

Releases the mutex.

Syntax

~MutexGuard() noexcept;

Generated from ThinkMeta.ConcurrentTasks.API @ da816bc (2026-11-06).