aboutsummaryrefslogtreecommitdiff
path: root/works/life/operating-system-experiment/Thread.h
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-06-12 23:20:15 +0800
committercrupest <crupest@outlook.com>2021-06-12 23:25:49 +0800
commitdc0dfeec23158268268da5a16364abb1f0de5a06 (patch)
tree845fb99b4f5d80cc5a99019d5af8598abf5f7e45 /works/life/operating-system-experiment/Thread.h
parent2c7ceca3e58543c36098fd46de711d9cd80a4d12 (diff)
downloadcrupest-dc0dfeec23158268268da5a16364abb1f0de5a06.tar.gz
crupest-dc0dfeec23158268268da5a16364abb1f0de5a06.tar.bz2
crupest-dc0dfeec23158268268da5a16364abb1f0de5a06.zip
import(life): ...
Diffstat (limited to 'works/life/operating-system-experiment/Thread.h')
-rw-r--r--works/life/operating-system-experiment/Thread.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/works/life/operating-system-experiment/Thread.h b/works/life/operating-system-experiment/Thread.h
index 735407c..4ad1ef4 100644
--- a/works/life/operating-system-experiment/Thread.h
+++ b/works/life/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)...};