OSDN Git Service
(root)
/
roast
/
roast.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
855576b
)
windows/thread_impl.hpp: こうじゃないかなぁー、っと
author
myun2
<myun2@nwhite.info>
Thu, 12 Jul 2012 05:27:36 +0000
(14:27 +0900)
committer
myun2
<myun2@nwhite.info>
Thu, 12 Jul 2012 05:27:36 +0000
(14:27 +0900)
roast/include/roast/windows/thread_impl.hpp
patch
|
blob
|
history
diff --git
a/roast/include/roast/windows/thread_impl.hpp
b/roast/include/roast/windows/thread_impl.hpp
index
0353e85
..
20b9d8a
100644
(file)
--- 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;