Merge pull request #2234 from lioncash/mutex

core/hle/kernel: Make Mutex a per-process class.
This commit is contained in:
bunnei 2019-03-21 22:18:36 -04:00 committed by GitHub
commit 7b6d516faa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 62 additions and 29 deletions

View file

@ -229,7 +229,8 @@ void Process::LoadModule(CodeSet module_, VAddr base_addr) {
}
Process::Process(Core::System& system)
: WaitObject{system.Kernel()}, address_arbiter{system}, system{system} {}
: WaitObject{system.Kernel()}, address_arbiter{system}, mutex{system}, system{system} {}
Process::~Process() = default;
void Process::Acquire(Thread* thread) {