diff options
author | crupest <crupest@outlook.com> | 2021-06-10 11:43:23 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-06-10 11:43:23 +0800 |
commit | 91ec864a9c8e023f9f87d1c079a1cd8024844a7a (patch) | |
tree | 1ba47d87b7ea8ef184314325c80d82da26540650 /works/life/operating-system-experiment/Interlocked.hpp | |
parent | f532667d936500f50447d63333544f603ec06137 (diff) | |
download | crupest-91ec864a9c8e023f9f87d1c079a1cd8024844a7a.tar.gz crupest-91ec864a9c8e023f9f87d1c079a1cd8024844a7a.tar.bz2 crupest-91ec864a9c8e023f9f87d1c079a1cd8024844a7a.zip |
import(life): ...
Diffstat (limited to 'works/life/operating-system-experiment/Interlocked.hpp')
-rw-r--r-- | works/life/operating-system-experiment/Interlocked.hpp | 10 |
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
|