libER 0.1.4.2
ELDEN RING API library
Loading...
Searching...
No Matches
Public Member Functions | List of all members
from::DLKR::DLPlainMutex Class Reference

A wrapper around a Windows kernel mutex. More...

#include <kernel_runtime.hpp>

Inheritance diagram for from::DLKR::DLPlainMutex:
from::DLUT::DLNonCopyable

Public Member Functions

LIBERAPI void lock () noexcept
 Lock the mutex.
 
LIBERAPI void unlock () noexcept
 Unlock the mutex.
 
LIBERAPI bool try_lock () noexcept
 Try to lock the mutex.
 
 DLPlainMutex (DLPlainMutex &&) noexcept=delete
 
- Public Member Functions inherited from from::DLUT::DLNonCopyable
 DLNonCopyable (const DLNonCopyable &)=delete
 
DLNonCopyableoperator= (const DLNonCopyable &)=delete
 

Detailed Description

A wrapper around a Windows kernel mutex.

Satisfies the C++ Mutex requirement.

Recursive, not TimedLockable.

Member Function Documentation

◆ lock()

LIBERAPI void from::DLKR::DLPlainMutex::lock ( )
noexcept

Lock the mutex.

Prefer using STL lock objects over calling this explicitly.

◆ try_lock()

LIBERAPI bool from::DLKR::DLPlainMutex::try_lock ( )
noexcept

Try to lock the mutex.

Prefer using STL lock objects over calling this explicitly.

Returns
true acquired the lock
false failed to acquire the lock

◆ unlock()

LIBERAPI void from::DLKR::DLPlainMutex::unlock ( )
noexcept

Unlock the mutex.

Prefer using STL lock objects over calling this explicitly.


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