[*] Some unwanted indirect branching is still bleeding in; mark more primitive classes as final
This commit is contained in:
parent
92ebafecab
commit
7fb8b89def
@ -11,7 +11,7 @@
|
||||
|
||||
namespace Aurora::Threading::Primitives
|
||||
{
|
||||
struct LinuxConditionMutex : IConditionMutexEx
|
||||
struct LinuxConditionMutex final : IConditionMutexEx
|
||||
{
|
||||
LinuxConditionMutex();
|
||||
~LinuxConditionMutex();
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
namespace Aurora::Threading::Primitives
|
||||
{
|
||||
struct UnixConditionMutex : IConditionMutexEx
|
||||
struct UnixConditionMutex final : IConditionMutexEx
|
||||
{
|
||||
UnixConditionMutex();
|
||||
~UnixConditionMutex();
|
||||
|
@ -18,8 +18,8 @@ namespace Aurora::Threading::Primitives
|
||||
|
||||
auline AuSPtr<IConditionMutex> GetMutex() override;
|
||||
auline bool WaitForSignal(AuUInt32 timeout) override;
|
||||
/*auline*/bool WaitForSignalNsEx(const std::shared_ptr<Win32ConditionMutex> &pMutex, AuUInt64 timeout);
|
||||
/*auline*/bool WaitForSignalNS(AuUInt64 qwTimeout) override;
|
||||
bool WaitForSignalNsEx(const std::shared_ptr<Win32ConditionMutex> &pMutex, AuUInt64 timeout);
|
||||
bool WaitForSignalNS(AuUInt64 qwTimeout) override;
|
||||
auline void Signal() override;
|
||||
auline void Broadcast() override;
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
namespace Aurora::Threading::Primitives
|
||||
{
|
||||
struct CriticalSectionImpl : IWaitable
|
||||
struct CriticalSectionImpl final : IWaitable
|
||||
{
|
||||
CriticalSectionImpl();
|
||||
~CriticalSectionImpl();
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
namespace Aurora::Threading::Primitives
|
||||
{
|
||||
struct EventImpl : IEvent
|
||||
struct EventImpl final : IEvent
|
||||
{
|
||||
EventImpl(bool bTriggered, bool bAtomicRelease, bool bPermitMultipleTriggers);
|
||||
~EventImpl();
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
namespace Aurora::Threading::Primitives
|
||||
{
|
||||
struct MutexImpl : IHyperWaitable
|
||||
struct MutexImpl final : IHyperWaitable
|
||||
{
|
||||
MutexImpl();
|
||||
~MutexImpl();
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
namespace Aurora::Threading::Primitives
|
||||
{
|
||||
struct MutexImpl : IHyperWaitable
|
||||
struct MutexImpl final : IHyperWaitable
|
||||
{
|
||||
MutexImpl();
|
||||
~MutexImpl();
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
namespace Aurora::Threading::Primitives
|
||||
{
|
||||
struct MutexImpl : IWaitable
|
||||
struct MutexImpl final : IWaitable
|
||||
{
|
||||
MutexImpl();
|
||||
~MutexImpl();
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
namespace Aurora::Threading::Primitives
|
||||
{
|
||||
struct SemaphoreImpl : ISemaphore
|
||||
struct SemaphoreImpl final : ISemaphore
|
||||
{
|
||||
SemaphoreImpl(AuUInt16 intialValue = 0);
|
||||
~SemaphoreImpl();
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
namespace Aurora::Threading::Primitives
|
||||
{
|
||||
struct SemaphoreImpl : ISemaphore
|
||||
struct SemaphoreImpl final : ISemaphore
|
||||
{
|
||||
SemaphoreImpl(AuUInt16 uIntialValue = 0);
|
||||
~SemaphoreImpl();
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
namespace Aurora::Threading::Primitives
|
||||
{
|
||||
struct SemaphoreImpl : ISemaphore
|
||||
struct SemaphoreImpl final : ISemaphore
|
||||
{
|
||||
SemaphoreImpl(AuUInt16 intialValue = 0);
|
||||
~SemaphoreImpl();
|
||||
|
Loading…
Reference in New Issue
Block a user