diff options
author | crupest <crupest@outlook.com> | 2021-06-10 11:55:27 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-06-10 11:55:27 +0800 |
commit | 10b7a5e29e48b874dbec2732c0396160bdcd5b01 (patch) | |
tree | e76d14c21984ee0063ad634d9212ac33a5991eac /operating-system-experiment/Interlocked.cpp | |
parent | ac67d8556835e2c37fd9e96199432750dbb40ba9 (diff) | |
download | life-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.cpp | 2 |
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
|