diff options
| author | 2020-02-14 14:40:20 -0500 | |
|---|---|---|
| committer | 2020-02-14 14:40:20 -0500 | |
| commit | f552d553bac1374c583d748dad27f8c86e86c4a0 (patch) | |
| tree | 1da4aa037ff417fa4fd43bffac267dcb2b55a72d /src/core/hle/kernel/process.cpp | |
| parent | Merge pull request #3379 from ReinUsesLisp/cbuf-offset (diff) | |
| parent | Core: Correct compilition in GCC (diff) | |
| download | yuzu-f552d553bac1374c583d748dad27f8c86e86c4a0.tar.gz yuzu-f552d553bac1374c583d748dad27f8c86e86c4a0.tar.xz yuzu-f552d553bac1374c583d748dad27f8c86e86c4a0.zip | |
Merge pull request #3401 from FernandoS27/synchronization
Set of refactors for Kernel Synchronization and Hardware Constants
Diffstat (limited to 'src/core/hle/kernel/process.cpp')
| -rw-r--r-- | src/core/hle/kernel/process.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/process.cpp b/src/core/hle/kernel/process.cpp index b9035a0be..2fcb7326c 100644 --- a/src/core/hle/kernel/process.cpp +++ b/src/core/hle/kernel/process.cpp | |||
| @@ -337,7 +337,7 @@ void Process::LoadModule(CodeSet module_, VAddr base_addr) { | |||
| 337 | } | 337 | } |
| 338 | 338 | ||
| 339 | Process::Process(Core::System& system) | 339 | Process::Process(Core::System& system) |
| 340 | : WaitObject{system.Kernel()}, vm_manager{system}, | 340 | : SynchronizationObject{system.Kernel()}, vm_manager{system}, |
| 341 | address_arbiter{system}, mutex{system}, system{system} {} | 341 | address_arbiter{system}, mutex{system}, system{system} {} |
| 342 | 342 | ||
| 343 | Process::~Process() = default; | 343 | Process::~Process() = default; |
| @@ -357,7 +357,7 @@ void Process::ChangeStatus(ProcessStatus new_status) { | |||
| 357 | 357 | ||
| 358 | status = new_status; | 358 | status = new_status; |
| 359 | is_signaled = true; | 359 | is_signaled = true; |
| 360 | WakeupAllWaitingThreads(); | 360 | Signal(); |
| 361 | } | 361 | } |
| 362 | 362 | ||
| 363 | void Process::AllocateMainThreadStack(u64 stack_size) { | 363 | void Process::AllocateMainThreadStack(u64 stack_size) { |