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
Win32
CYBWin32Semaphore.hpp
Go to the documentation of this file.
1
#pragma once
3
namespace
CYB {
4
namespace
Platform {
5
namespace
System {
6
namespace
Implementation {
8
class
Semaphore
{
9
protected
:
10
Win32::CRITICAL_SECTION
FCritSection
;
11
Win32::CONDITION_VARIABLE
FCondVar
;
12
protected
:
14
Semaphore
() noexcept = default;
15
21
void
WakeAll
(
void
) noexcept;
22
28
void
WakeOne
(
void
) noexcept;
29
};
30
};
31
};
32
};
33
};
CYB::Platform::System::Implementation::Semaphore::WakeOne
void WakeOne(void) noexcept
Wake one thread waiting on the condition variable.
Definition:
CYBWin32Semaphore.cpp:36
CYB::Platform::System::Implementation::Semaphore::Semaphore
Semaphore() noexcept=default
See Default Constructors and Destructor.
CYB::Platform::System::Implementation::Semaphore::WakeAll
void WakeAll(void) noexcept
Wake all threads waiting on the condition variable.
Definition:
CYBWin32Semaphore.cpp:32
CYB::Platform::System::Implementation::Semaphore::FCondVar
Win32::CONDITION_VARIABLE FCondVar
The condition variable.
Definition:
CYBWin32Semaphore.hpp:11
CYB::Platform::System::Implementation::Semaphore
The CS, CV pair handler.
Definition:
CYBWin32Semaphore.hpp:8
CYB::Platform::System::Implementation::Semaphore::FCritSection
Win32::CRITICAL_SECTION FCritSection
The mutex.
Definition:
CYBWin32Semaphore.hpp:10
Generated by
1.8.6