mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-09 11:51:58 -04:00
kern: devirtualize most things that are free to devirtualize (see #1672)
This commit is contained in:
parent
aaa3770806
commit
d0cd511c0e
13 changed files with 89 additions and 89 deletions
|
@ -620,7 +620,7 @@ namespace ams::kern {
|
|||
void Finalize();
|
||||
|
||||
virtual bool IsSignaled() const override;
|
||||
virtual void OnTimer() override;
|
||||
void OnTimer();
|
||||
virtual void DoWorkerTask() override;
|
||||
public:
|
||||
static constexpr bool IsConditionVariableThreadTreeValid() {
|
||||
|
@ -674,4 +674,8 @@ namespace ams::kern {
|
|||
GetCurrentThread().SetClosedObject(this);
|
||||
}
|
||||
|
||||
ALWAYS_INLINE void KTimerTask::OnTimer() {
|
||||
static_cast<KThread *>(this)->OnTimer();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue