11#include <detail/preprocessor.hpp>
12#include <detail/minwin.inl>
55 LIBERAPI
void lock() noexcept;
72 [[nodiscard]] LIBERAPI
bool try_lock() noexcept;
77 CRITICAL_SECTION critical_section;
81LIBER_ASSERT_SIZE(0x30);
131LIBER_ASSERT_SIZE(0x10);
167LIBER_ASSERT_SIZE(0x38);
Definition kernel_runtime.hpp:24
A wrapper around a Windows Critical Section (with a spincount).
Definition kernel_runtime.hpp:142
DLPlainAdaptiveMutex(int spin_count) noexcept
Initialize the Windows Critical Section with an explicit spin count.
Definition kernel_runtime.hpp:155
A wrapper around a Windows Critical Section.
Definition kernel_runtime.hpp:34
LIBERAPI void unlock() noexcept
Unlock the mutex.
LIBERAPI void lock() noexcept
Lock the mutex.
LIBERAPI DLPlainLightMutex(int spin_count) noexcept
Initialize the Windows Critical Section with an explicit spin count.
LIBERAPI bool try_lock() noexcept
Try to lock the mutex.
A wrapper around a Windows kernel mutex.
Definition kernel_runtime.hpp:92
LIBERAPI void lock() noexcept
Lock the mutex.
Base class used for non-copyable, but movable objects.
Definition utility.hpp:27
ELDEN RING allocation interface and from::allocator.