WPILibC++ 2025.1.1
Loading...
Searching...
No Matches
wpi::memory::no_mutex Struct Reference

A dummy Mutex class that does not lock anything. More...

#include <wpi/memory/threading.hpp>

Public Member Functions

void lock () noexcept
 
bool try_lock () noexcept
 
void unlock () noexcept
 

Detailed Description

A dummy Mutex class that does not lock anything.

It is a valid Mutex and can be used to disable locking anywhere a Mutex is requested.

Member Function Documentation

◆ lock()

void wpi::memory::no_mutex::lock ( )
inlinenoexcept

◆ try_lock()

bool wpi::memory::no_mutex::try_lock ( )
inlinenoexcept

◆ unlock()

void wpi::memory::no_mutex::unlock ( )
inlinenoexcept

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