mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-23 15:01:50 +01:00
Make UpdateCore
's locking coreMigrationMutex
requirement explicit
`Scheduler::UpdateCore` implicitly depended on `KThread::coreMigrationMutex` being locked during calls to it, this requirement has now been made explicit to avoid confusion.
This commit is contained in:
parent
c4b4532222
commit
7fef849594
@ -129,6 +129,7 @@ namespace skyline {
|
||||
/**
|
||||
* @brief Updates the core that the supplied thread is resident to according to its new affinity mask and ideal core
|
||||
* @note This supports changing the core of a thread which is currently running
|
||||
* @note 'KThread::coreMigrationMutex' **must** be locked by the calling thread prior to calling this
|
||||
*/
|
||||
void UpdateCore(const std::shared_ptr<type::KThread> &thread);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user