|
stratosphere: Use RAII for locks
This renames the Mutex class member functions so that the mutex types satisfy Lockable. This makes them usable with standard std::scoped_lock and std::unique_lock, which lets us use RAII and avoids the need for a custom RAII wrapper :) |
|---|
|
|
| stratosphere/fs_mitm/source/fsmitm_worker.cpp |
|---|
| stratosphere/fs_mitm/source/mitm_query_service.cpp |
|---|
| stratosphere/libstratosphere/include/stratosphere/hossynch.hpp |
|---|
| stratosphere/libstratosphere/source/multithreadedwaitablemanager.cpp |
|---|
| stratosphere/libstratosphere/source/waitablemanager.cpp |
|---|
| stratosphere/pm/source/pm_debug_monitor.cpp |
|---|
| stratosphere/pm/source/pm_info.cpp |
|---|
| stratosphere/pm/source/pm_process_wait.hpp |
|---|
| stratosphere/pm/source/pm_registration.cpp |
|---|
| stratosphere/pm/source/pm_registration.hpp |
|---|
| stratosphere/pm/source/pm_shell.cpp |
|---|