summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel
diff options
context:
space:
mode:
authorlat9nq <lat9nq@gmail.com>2022-04-02 00:40:52 +0200
committerlat9nq <lat9nq@gmail.com>2022-04-04 03:47:57 +0200
commitd6a0666268d5ef51936c2475d33ab37ff14462e4 (patch)
treea6410fdd2b4c76de6c4aa8f596b88c2ac18069b2 /src/core/hle/kernel
parentkernel: Fix current_process race (diff)
downloadyuzu-d6a0666268d5ef51936c2475d33ab37ff14462e4.tar
yuzu-d6a0666268d5ef51936c2475d33ab37ff14462e4.tar.gz
yuzu-d6a0666268d5ef51936c2475d33ab37ff14462e4.tar.bz2
yuzu-d6a0666268d5ef51936c2475d33ab37ff14462e4.tar.lz
yuzu-d6a0666268d5ef51936c2475d33ab37ff14462e4.tar.xz
yuzu-d6a0666268d5ef51936c2475d33ab37ff14462e4.tar.zst
yuzu-d6a0666268d5ef51936c2475d33ab37ff14462e4.zip
Diffstat (limited to 'src/core/hle/kernel')
-rw-r--r--src/core/hle/kernel/k_process.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/k_process.h b/src/core/hle/kernel/k_process.h
index 48b17fc74..9f171e3da 100644
--- a/src/core/hle/kernel/k_process.h
+++ b/src/core/hle/kernel/k_process.h
@@ -422,7 +422,7 @@ private:
bool is_64bit_process = true;
/// Total running time for the process in ticks.
- u64 total_process_running_time_ticks = 0;
+ std::atomic<u64> total_process_running_time_ticks = 0;
/// Per-process handle table for storing created object handles in.
KHandleTable handle_table;