aboutsummaryrefslogtreecommitdiff
path: root/works/life/operating-system-experiment/Mutex.h
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-06-10 11:35:29 +0800
committercrupest <crupest@outlook.com>2021-06-10 11:35:29 +0800
commitf532667d936500f50447d63333544f603ec06137 (patch)
treeab04f5afa2448e82baa82e409d5eb3fa6910a468 /works/life/operating-system-experiment/Mutex.h
parentef593ba2d445af515214d63bfd3942be9d673467 (diff)
downloadcrupest-f532667d936500f50447d63333544f603ec06137.tar.gz
crupest-f532667d936500f50447d63333544f603ec06137.tar.bz2
crupest-f532667d936500f50447d63333544f603ec06137.zip
import(life): ...
Diffstat (limited to 'works/life/operating-system-experiment/Mutex.h')
-rw-r--r--works/life/operating-system-experiment/Mutex.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/works/life/operating-system-experiment/Mutex.h b/works/life/operating-system-experiment/Mutex.h
index 163d9ca..d561f1a 100644
--- a/works/life/operating-system-experiment/Mutex.h
+++ b/works/life/operating-system-experiment/Mutex.h
@@ -35,6 +35,7 @@ private:
private:
#ifdef CRU_WINDOWS
+ HANDLE handle_;
#else
std::unique_ptr<pthread_mutex_t> mutex_;
#endif