yuzu/src/core/hle
Lioncash 758d84db9a service/am: Implement EnterFatalSection and LeaveFatalSection
These functions act in tandem similar to how a lock or mutex require a
balanced lock()/unlock() sequence.

EnterFatalSection simply increments a counter for how many times it has
been called, while LeaveFatalSection ensures that a previous call to
EnterFatalSection has occured. If a previous call has occurred (the
counter is not zero), then the counter gets decremented as one would
expect. If a previous call has not occurred (the counter is zero), then
an error code is returned.
2019-03-26 17:02:42 -04:00
..
kernel Merge pull request #2285 from lioncash/unused-struct 2019-03-26 11:17:03 -04:00
service service/am: Implement EnterFatalSection and LeaveFatalSection 2019-03-26 17:02:42 -04:00
ipc.h Merge pull request #2090 from FearlessTobi/port-4599 2019-03-20 23:44:20 -04:00
ipc_helpers.h ipc_helpers: Allow pushing and popping floating-point values 2019-03-16 14:05:03 -04:00
lock.cpp Fix build on macOS and linux 2018-01-13 22:38:52 +00:00
lock.h Use recursive_mutex instead of mutex to fix #2902 2017-08-29 20:39:55 +12:00
result.h core/hle/result: Remove now-unnecessary manually defined copy assignment operator 2019-03-10 18:34:20 -04:00