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 :)
1 parent 1815371 commit 5b3e8e1c5d756834a669ee4c820b24fb089b5e21
@Léo Lam Léo Lam authored on 2 Jul 2018
SciresM committed on 10 Jul 2018
Showing 11 changed files
View
stratosphere/fs_mitm/source/fsmitm_worker.cpp
View
stratosphere/fs_mitm/source/mitm_query_service.cpp
View
stratosphere/libstratosphere/include/stratosphere/hossynch.hpp
View
stratosphere/libstratosphere/source/multithreadedwaitablemanager.cpp
View
stratosphere/libstratosphere/source/waitablemanager.cpp
View
stratosphere/pm/source/pm_debug_monitor.cpp
View
stratosphere/pm/source/pm_info.cpp
View
stratosphere/pm/source/pm_process_wait.hpp
View
stratosphere/pm/source/pm_registration.cpp
View
stratosphere/pm/source/pm_registration.hpp
View
stratosphere/pm/source/pm_shell.cpp