From 91ec864a9c8e023f9f87d1c079a1cd8024844a7a Mon Sep 17 00:00:00 2001 From: crupest Date: Thu, 10 Jun 2021 11:43:23 +0800 Subject: import(life): ... --- works/life/operating-system-experiment/Interlocked.hpp | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 works/life/operating-system-experiment/Interlocked.hpp (limited to 'works/life/operating-system-experiment/Interlocked.hpp') 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 -- cgit v1.2.3