diff options
author | crupest <crupest@outlook.com> | 2021-06-12 23:20:15 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-06-12 23:25:49 +0800 |
commit | 7f2f87f3f1cc00bd16d1d5552cc126e9aabc3531 (patch) | |
tree | f698e7730919bd6c7a0ea441ed66de971d11db97 /operating-system-experiment/Thread.h | |
parent | 0c1d400a5f3a93a245e579bbfa7aa251077eff26 (diff) | |
download | life-7f2f87f3f1cc00bd16d1d5552cc126e9aabc3531.tar.gz life-7f2f87f3f1cc00bd16d1d5552cc126e9aabc3531.tar.bz2 life-7f2f87f3f1cc00bd16d1d5552cc126e9aabc3531.zip |
...
Diffstat (limited to 'operating-system-experiment/Thread.h')
-rw-r--r-- | operating-system-experiment/Thread.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/operating-system-experiment/Thread.h b/operating-system-experiment/Thread.h index 735407c..4ad1ef4 100644 --- a/operating-system-experiment/Thread.h +++ b/operating-system-experiment/Thread.h @@ -66,14 +66,6 @@ private: #endif
};
-namespace details {
-#ifdef CRU_WINDOWS
-CRU_API DWORD WINAPI ThreadProc(_In_ LPVOID lpParameter);
-#else
-void *ThreadProc(void *data);
-#endif
-} // namespace details
-
template <typename Fn, typename... Args>
Thread::Thread(Fn &&process, Args &&...args) {
std::tuple<std::decay_t<Args>...> a{std::forward<Args>(args)...};
|