svc: added optional name field to Event and Mutex (used for debugging)

This commit is contained in:
bunnei 2014-06-02 20:38:34 -04:00
parent 8c0f02a70c
commit b78aff8585
6 changed files with 25 additions and 12 deletions

View file

@ -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");
}
}