scheduler: Clear exclusive state when switching contexts
This commit is contained in:
parent
f00ca69a81
commit
56cc1c11ec
6 changed files with 11 additions and 0 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue