Hi Vincente,
I successfully updated to the latest boost in my project but (for some
reason) I still encounter the same problem.
My thread is created thus:
boost::thread::attributes attrs;
pthread_attr_setschedpolicy(attrs.native_handle(), SCHED_RR);
sendThread = boost::thread(attrs,&sender::sendItThreadFunction,this);
but upon compilation time I get the following error in bind.hpp:
template
Le 07/12/14 18:04, Alexander Carôt a écrit :
Hello Vincente,
thanks a lot for your quick response !
Sorry, the tutorial is wrong. It should be native_handle()
I have one more: On the same document the Thread attributes chapter starts with the example
attrs.set_size(4096*10);
Her it has to be set_stack_size as in the example below. Maybe you can find some time to fix it.
Just done (https://github.com/boostorg/thread/commit/063b59e511a2bfd323b0fcdd06c3499473... a18db).
Thanks for reporting, Vicente
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users