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 | 500ee4751c4861c4217c067f5d0dcae0cbd55d7c (patch) | |
tree | cd926a06928d977eebeb359798f96a683576bc51 /operating-system-experiment/Interlocked.hpp | |
parent | df97d69a45ba4e50114458e2b5c4185460f2d9f3 (diff) | |
download | life-500ee4751c4861c4217c067f5d0dcae0cbd55d7c.tar.gz life-500ee4751c4861c4217c067f5d0dcae0cbd55d7c.tar.bz2 life-500ee4751c4861c4217c067f5d0dcae0cbd55d7c.zip |
...
Diffstat (limited to 'operating-system-experiment/Interlocked.hpp')
-rw-r--r-- | operating-system-experiment/Interlocked.hpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/operating-system-experiment/Interlocked.hpp b/operating-system-experiment/Interlocked.hpp new file mode 100644 index 0000000..1151e39 --- /dev/null +++ b/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
|