aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/kernel.h
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2017-07-20 23:52:50 -0500
committerSubv <subv2112@gmail.com>2017-08-22 09:30:55 -0500
commit9cf64ca2cf2148b0a223fd9c1920c73537d6477c (patch)
tree68375d2bac3a42e64e95702d2edaf8e1825af061 /src/core/hle/kernel/kernel.h
parenta32e38fba0709048986756918a1fb53554e2eb05 (diff)
Kernel/HLE: Use a mutex to synchronize access to the HLE kernel state between the cpu thread and any other possible threads that might touch the kernel (network thread, etc).
This mutex is acquired in SVC::CallSVC, ie, as soon as the guest application enters the HLE kernel, and should be acquired by the aforementioned threads before modifying kernel structures.
Diffstat (limited to 'src/core/hle/kernel/kernel.h')
-rw-r--r--src/core/hle/kernel/kernel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/kernel.h b/src/core/hle/kernel/kernel.h
index 9cf288b084..255cda3594 100644
--- a/src/core/hle/kernel/kernel.h
+++ b/src/core/hle/kernel/kernel.h
@@ -129,4 +129,4 @@ void Init(u32 system_mode);
/// Shutdown the kernel
void Shutdown();
-} // namespace
+} // namespace Kernel