Index: pthread/thread.cpp =================================================================== --- pthread/thread.cpp (revision 53346) +++ pthread/thread.cpp (working copy) @@ -199,6 +199,19 @@ throw thread_resource_error(); } } +#ifdef BOOST_THREAD_HAS_THREAD_ATTR + void thread::start_thread(thread_attributes& attr) + { + thread_info->self=thread_info; + thread_attributes::native_handle_type h = attr.native_handle(); + int const res = pthread_create(&thread_info->thread_handle, &h, &thread_proxy, thread_info.get()); + if (res != 0) + { + thread_info->self.reset(); + throw thread_resource_error(); + } + } +#endif thread::~thread() {