svc: added optional name field to Event and Mutex (used for debugging)
This commit is contained in:
parent
8c0f02a70c
commit
b78aff8585
6 changed files with 25 additions and 12 deletions
|
@ -17,7 +17,7 @@ Handle g_mutex = 0;
|
|||
void Initialize(Service::Interface* self) {
|
||||
DEBUG_LOG(OSHLE, "called");
|
||||
if (!g_mutex) {
|
||||
g_mutex = Kernel::CreateMutex(false);
|
||||
g_mutex = Kernel::CreateMutex(true, "SRV:Lock");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue