Fix error in thread function name.

This commit is contained in:
chris_kohlhoff 2005-11-23 10:45:12 +00:00
parent 94f91687c2
commit 22c8cb7463

View File

@ -47,7 +47,7 @@ public:
std::auto_ptr<func_base> arg(new func<Function>(f));
unsigned int thread_id = 0;
thread_ = reinterpret_cast<HANDLE>(::_beginthreadex(0, 0,
asio_detail_win_thread_function, arg.get(), 0, &thread_id));
win_thread_function, arg.get(), 0, &thread_id));
if (!thread_)
throw std::bad_alloc();
arg.release();