|
libER 0.1.4.2
ELDEN RING API library
|
A wrapper around a Windows Critical Section (with a spincount). More...
#include <kernel_runtime.hpp>
Public Member Functions | |
| DLPlainAdaptiveMutex (int spin_count) noexcept | |
| Initialize the Windows Critical Section with an explicit spin count. | |
| DLPlainAdaptiveMutex (DLPlainAdaptiveMutex &&) noexcept=delete | |
Public Member Functions inherited from from::DLKR::DLPlainLightMutex | |
| LIBERAPI | DLPlainLightMutex (int spin_count) noexcept |
| Initialize the Windows Critical Section with an explicit spin count. | |
| LIBERAPI void | lock () noexcept |
| Lock the mutex. | |
| LIBERAPI void | unlock () noexcept |
| Unlock the mutex. | |
| LIBERAPI bool | try_lock () noexcept |
| Try to lock the mutex. | |
| DLPlainLightMutex (DLPlainLightMutex &&) noexcept=delete | |
Public Member Functions inherited from from::DLUT::DLNonCopyable | |
| DLNonCopyable (const DLNonCopyable &)=delete | |
| DLNonCopyable & | operator= (const DLNonCopyable &)=delete |
A wrapper around a Windows Critical Section (with a spincount).
Satisfies the C++ Mutex requirement.
Recursive, not TimedLockable.
|
inlineexplicitnoexcept |
Initialize the Windows Critical Section with an explicit spin count.
| spin_count | how many times to spin before sleeping |