aboutsummaryrefslogtreecommitdiff
path: root/works/life/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
commit5018c2b40009258ed0691cbbb1dcc4d8ac4a809b (patch)
tree1c4269b73b0473f47b98ca260676dbec1460791f /works/life/operating-system-experiment/Interlocked.cpp
parent06c91dd3a3d17bd1f884c7e322fd7701a95ce7a9 (diff)
downloadcrupest-5018c2b40009258ed0691cbbb1dcc4d8ac4a809b.tar.gz
crupest-5018c2b40009258ed0691cbbb1dcc4d8ac4a809b.tar.bz2
crupest-5018c2b40009258ed0691cbbb1dcc4d8ac4a809b.zip
import(life): ...
Diffstat (limited to 'works/life/operating-system-experiment/Interlocked.cpp')
-rw-r--r--works/life/operating-system-experiment/Interlocked.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/works/life/operating-system-experiment/Interlocked.cpp b/works/life/operating-system-experiment/Interlocked.cpp
index 1c0f638..7fc8c6b 100644
--- a/works/life/operating-system-experiment/Interlocked.cpp
+++ b/works/life/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