mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-13 06:34:23 -04:00
kern: add KProcess members
This commit is contained in:
parent
772e1f1c4f
commit
fba8fb539d
15 changed files with 460 additions and 96 deletions
|
@ -96,7 +96,7 @@ namespace ams::kern {
|
|||
|
||||
/* Set parent and condvar tree. */
|
||||
this->parent = nullptr;
|
||||
this->cond_var_tree = nullptr;
|
||||
this->cond_var = nullptr;
|
||||
|
||||
/* Set sync booleans. */
|
||||
this->signaled = false;
|
||||
|
@ -423,7 +423,7 @@ namespace ams::kern {
|
|||
|
||||
/* Ensure we don't violate condition variable red black tree invariants. */
|
||||
if (auto *cond_var = thread->GetConditionVariable(); cond_var != nullptr) {
|
||||
MESOSPHERE_TODO("Remove from condvar tree");
|
||||
cond_var->BeforeUpdatePriority(thread);
|
||||
}
|
||||
|
||||
/* Change the priority. */
|
||||
|
@ -432,7 +432,7 @@ namespace ams::kern {
|
|||
|
||||
/* Restore the condition variable, if relevant. */
|
||||
if (auto *cond_var = thread->GetConditionVariable(); cond_var != nullptr) {
|
||||
MESOSPHERE_TODO("Re-insert into condvar tree");
|
||||
cond_var->AfterUpdatePriority(thread);
|
||||
}
|
||||
|
||||
/* Update the scheduler. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue