clang-format: AppCoreThread.h

This commit is contained in:
Gauvain 'GovanifY' Roussel-Tarbouriech 2021-03-01 18:31:14 +01:00 committed by lightningterror
parent 0dee88e805
commit 593e44ca54
1 changed files with 47 additions and 42 deletions

View File

@ -33,9 +33,9 @@ class BaseScopedCoreThread;
enum ScopedCoreResumeType
{
ScopedCore_BlockingResume
, ScopedCore_NonblockingResume
, ScopedCore_SkipResume
ScopedCore_BlockingResume,
ScopedCore_NonblockingResume,
ScopedCore_SkipResume
};
namespace GameInfo
@ -96,7 +96,9 @@ public:
SysExecEvent_CoreThreadClose* Clone() const { return new SysExecEvent_CoreThreadClose(*this); }
SysExecEvent_CoreThreadClose(SynchronousActionState* sync = NULL, SynchronousActionState* resume_sync = NULL, Threading::Mutex* mtx_resume = NULL)
: BaseSysExecEvent_ScopedCore( sync, resume_sync, mtx_resume ) { }
: BaseSysExecEvent_ScopedCore(sync, resume_sync, mtx_resume)
{
}
protected:
void InvokeEvent();
@ -114,7 +116,9 @@ public:
SysExecEvent_CoreThreadPause* Clone() const { return new SysExecEvent_CoreThreadPause(*this); }
SysExecEvent_CoreThreadPause(SynchronousActionState* sync = NULL, SynchronousActionState* resume_sync = NULL, Threading::Mutex* mtx_resume = NULL)
: BaseSysExecEvent_ScopedCore( sync, resume_sync, mtx_resume ) { }
: BaseSysExecEvent_ScopedCore(sync, resume_sync, mtx_resume)
{
}
protected:
void InvokeEvent();
@ -171,7 +175,8 @@ protected:
IScopedCoreThread() {}
public:
virtual ~IScopedCoreThread() = default;;
virtual ~IScopedCoreThread() = default;
;
virtual void AllowResume() = 0;
virtual void DisallowResume() = 0;
};