mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-17 08:34:23 -04:00
kern: implement SvcCreateThread, SvcStartThread
This commit is contained in:
parent
9503aae522
commit
7f4c6ae9e7
5 changed files with 95 additions and 6 deletions
|
@ -306,7 +306,7 @@ namespace ams::kern {
|
|||
MESOSPHERE_ASSERT_THIS();
|
||||
|
||||
/* Lock ourselves, to prevent concurrent access. */
|
||||
KScopedLightLock lk(this->lock);
|
||||
KScopedLightLock lk(this->state_lock);
|
||||
|
||||
/* Validate that we're in a state where we can initialize. */
|
||||
const auto state = this->state;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue