CyberEngineMkIII
Home
Contexts
Conventions
Classes
Files
Todo
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
Engine
Platform
System
CYBMutex.hpp
Go to the documentation of this file.
1
#pragma once
3
namespace
CYB {
4
namespace
Platform {
5
namespace
System {
7
class
Mutex
:
private
Implementation::Mutex
,
public
API::Mutex
{
8
public
:
15
Mutex
();
17
Mutex
(
const
Mutex
&) =
delete
;
19
~Mutex
()
final
override
;
20
22
void
Lock
(
void
) noexcept
final
override
;
24
bool
TryLock
(
void
) noexcept
final
override
;
26
void
Unlock
(
void
) noexcept
final
override
;
27
};
28
};
29
};
30
};
CYB::Platform::System::Mutex::Unlock
void Unlock(void) noexceptfinaloverride
Release a lock on a Mutex. Should only be called after a Lock or TryLock on the same Mutex was aquire...
Definition:
CYBWin32Mutex.cpp:23
CYB::Platform::System::Mutex::Lock
void Lock(void) noexceptfinaloverride
Acquire a lock on a Mutex. This will block the current thread until the lock is aquired. The Mutex must not be owned by the current thread.
Definition:
CYBWin32Mutex.cpp:12
CYB::API::Mutex
A fast locking, no order guaranteed, mutex.
Definition:
Mutex.hpp:10
CYB::Platform::System::Mutex::TryLock
bool TryLock(void) noexceptfinaloverride
Attempt to acquire a lock on a Mutex. This will not block the current thread. The Mutex must not be o...
Definition:
CYBWin32Mutex.cpp:17
CYB::Platform::System::Mutex
A fast locking, no order guaranteed, mutex.
Definition:
CYBMutex.hpp:7
CYB::Platform::System::Implementation::Mutex
Contains the CRITICAL_SECTION struct.
Definition:
CYBWin32Mutex.hpp:8
CYB::Platform::System::Mutex::~Mutex
~Mutex() finaloverride
Destroy a Mutex. Mutex must be unlocked.
Definition:
CYBWin32Mutex.cpp:8
CYB::Platform::System::Mutex::Mutex
Mutex()
Constructs a Mutex.
Definition:
CYBWin32Mutex.cpp:4
Generated by
1.8.6