aboutsummaryrefslogtreecommitdiff
path: root/works/life/operating-system-experiment/Interlocked.hpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-06-10 11:43:47 +0800
committercrupest <crupest@outlook.com>2021-06-10 11:43:47 +0800
commitfcf8662eba1813e372706f02d6f30e66d04a121d (patch)
tree5226c122907762b98e81b24a1bba5585532f4433 /works/life/operating-system-experiment/Interlocked.hpp
parentbfd0f33af41ac2d5f26d597eac80070911c945a5 (diff)
parent91ec864a9c8e023f9f87d1c079a1cd8024844a7a (diff)
downloadcrupest-fcf8662eba1813e372706f02d6f30e66d04a121d.tar.gz
crupest-fcf8662eba1813e372706f02d6f30e66d04a121d.tar.bz2
crupest-fcf8662eba1813e372706f02d6f30e66d04a121d.zip
import(life): Merge branch 'main' of https://github.com/crupest/life
Diffstat (limited to 'works/life/operating-system-experiment/Interlocked.hpp')
-rw-r--r--works/life/operating-system-experiment/Interlocked.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/works/life/operating-system-experiment/Interlocked.hpp b/works/life/operating-system-experiment/Interlocked.hpp
new file mode 100644
index 0000000..1151e39
--- /dev/null
+++ b/works/life/operating-system-experiment/Interlocked.hpp
@@ -0,0 +1,10 @@
+#ifndef HRADER_INTERLOCKED_H
+#define HRADER_INTERLOCKED_H
+
+#include "Base.h"
+
+namespace cru {
+CRU_API void InterlockedIncrease(volatile long long *v);
+}
+
+#endif