From 89f5180f34c040c344905089fa2597b1e98538bd Mon Sep 17 00:00:00 2001 From: myun2 Date: Thu, 12 Jul 2012 14:27:36 +0900 Subject: [PATCH] =?utf8?q?windows/thread=5Fimpl.hpp:=20=E3=81=93=E3=81=86?= =?utf8?q?=E3=81=98=E3=82=83=E3=81=AA=E3=81=84=E3=81=8B=E3=81=AA=E3=81=81?= =?utf8?q?=E3=83=BC=E3=80=81=E3=81=A3=E3=81=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- roast/include/roast/windows/thread_impl.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/roast/include/roast/windows/thread_impl.hpp b/roast/include/roast/windows/thread_impl.hpp index 0353e850..20b9d8a3 100644 --- a/roast/include/roast/windows/thread_impl.hpp +++ b/roast/include/roast/windows/thread_impl.hpp @@ -16,6 +16,9 @@ namespace roast class thread_impl { public: + typedef int (*thread_callback_t)(void*) func_type, thread_func_type, thread_func_t; + typedef HANDLE thread_handle_t; + struct start_option { LPSECURITY_ATTRIBUTES lpThreadAttributes; @@ -26,7 +29,7 @@ namespace roast DWORD m_dwId; public: thread_handle_t - start(thread_func_t func, int param, void* opt_) + start(thread_func_t func, void* param, void* detail_opt) { start_option opt_default; start_option* opt; -- 2.11.0