scheduler: Clear exclusive state when switching contexts

This commit is contained in:
MerryMage 2018-07-16 11:24:00 +01:00
parent f00ca69a81
commit 56cc1c11ec
6 changed files with 11 additions and 0 deletions

View file

@ -116,6 +116,8 @@ public:
*/
virtual void LoadContext(const ThreadContext& ctx) = 0;
virtual void ClearExclusiveState() = 0;
/// Prepare core for thread reschedule (if needed to correctly handle state)
virtual void PrepareReschedule() = 0;
};