diff options
author | crupest <crupest@outlook.com> | 2021-06-11 11:02:41 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-06-11 11:02:41 +0800 |
commit | fabd9692c49bad9f4f2858315f2a16501ad45d21 (patch) | |
tree | 61c9db7b74405a9155bb4bd568183d061168bf0d /works/life/operating-system-experiment/Semaphore.h | |
parent | 0380cd595ee05773f78751aa7f2952b6ea105f7c (diff) | |
download | crupest-fabd9692c49bad9f4f2858315f2a16501ad45d21.tar.gz crupest-fabd9692c49bad9f4f2858315f2a16501ad45d21.tar.bz2 crupest-fabd9692c49bad9f4f2858315f2a16501ad45d21.zip |
import(life): ...
Diffstat (limited to 'works/life/operating-system-experiment/Semaphore.h')
-rw-r--r-- | works/life/operating-system-experiment/Semaphore.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/works/life/operating-system-experiment/Semaphore.h b/works/life/operating-system-experiment/Semaphore.h index 1d49b60..430c036 100644 --- a/works/life/operating-system-experiment/Semaphore.h +++ b/works/life/operating-system-experiment/Semaphore.h @@ -37,6 +37,7 @@ private: private: #ifdef CRU_WINDOWS + HANDLE handle_ = nullptr; #else std::unique_ptr<sem_t> semaphore_; #endif |