diff options
| author | bunnei <bunneidev@gmail.com> | 2018-07-17 07:33:32 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-07-17 07:33:32 -0700 |
| commit | 88a3140c9b20b2f079f915842b4f30bdc800a53a (patch) | |
| tree | 8fdcadf90977f58f0d1c14ed09a9313ba88d72d9 /src/core/arm/arm_interface.h | |
| parent | 519035db3d5fda9517a4efe5c25f1a1d20d0a7c2 (diff) | |
| parent | 56cc1c11ecad9e7ea2a36fbb74852a7579b53802 (diff) | |
Merge pull request #671 from MerryMage/clear-exclusive-state
scheduler: Clear exclusive state when switching contexts
Diffstat (limited to 'src/core/arm/arm_interface.h')
| -rw-r--r-- | src/core/arm/arm_interface.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/arm/arm_interface.h b/src/core/arm/arm_interface.h index 32ff3c345..8416e73b0 100644 --- a/src/core/arm/arm_interface.h +++ b/src/core/arm/arm_interface.h @@ -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; }; |
