Stroika Library 3.0d23
 
Loading...
Searching...
No Matches
Stroika::Foundation::Execution::NullLock Struct Reference

#include <NullLock.h>

Detailed Description

This class follows the Mutex concept - syntactically - but doesn't actually perform locking.

Sometimes you want to write code that can use locks or not. Use of the NullLock allows the syntax of locking to be present, but effectively all compiled (even constexpr) away.

Note
before Stroika v3.0d23 - this was called NullMutex

Definition at line 28 of file NullLock.h.


The documentation for this struct was generated from the following files: