aboutsummaryrefslogtreecommitdiff
path: root/operating-system-experiment/Interlocked.cpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-06-10 11:55:27 +0800
committercrupest <crupest@outlook.com>2021-06-10 11:55:27 +0800
commit10b7a5e29e48b874dbec2732c0396160bdcd5b01 (patch)
treee76d14c21984ee0063ad634d9212ac33a5991eac /operating-system-experiment/Interlocked.cpp
parentac67d8556835e2c37fd9e96199432750dbb40ba9 (diff)
downloadlife-10b7a5e29e48b874dbec2732c0396160bdcd5b01.tar.gz
life-10b7a5e29e48b874dbec2732c0396160bdcd5b01.tar.bz2
life-10b7a5e29e48b874dbec2732c0396160bdcd5b01.zip
...
Diffstat (limited to 'operating-system-experiment/Interlocked.cpp')
-rw-r--r--operating-system-experiment/Interlocked.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/operating-system-experiment/Interlocked.cpp b/operating-system-experiment/Interlocked.cpp
index 1c0f638..7fc8c6b 100644
--- a/operating-system-experiment/Interlocked.cpp
+++ b/operating-system-experiment/Interlocked.cpp
@@ -6,7 +6,7 @@
#endif
namespace cru {
-void InterlockedAdd(volatile long long *v, long long a) {
+void CruInterlockedAdd(volatile long long *v, long long a) {
#ifdef CRU_WINDOWS
InterlockedAdd64(v, a);
#else