|
Boost Users : |
Subject: Re: [Boost-users] problems with boost::thread::native_handle()
From: Carlos Casado Cascado (quierosermacgyver_at_[hidden])
Date: 2009-12-03 14:16:50
Thanks for every thing. I will try upgrade my boost version. Any tips are
welcome XD
I will tell if it woks.
Thanks again
2009/12/3 Anthony Williams <anthony.ajw_at_[hidden]>
> Carlos Casado Cascado <quierosermacgyver_at_[hidden]> writes:
>
> > Hello, my name is Carlos Casado, i work at the Malaga univeristy in
> Spain. I´m
> > working with a robotic arm and we use boost thread library. We need give
> some
> > thread priority, we want use the thread's original handle (pthread)
> because we
> > can manage priority with pthread_setschedparam () .
> > The problem is that we can´t use native_handle() because it is not
> defined. We
> > have a RT ubuntu machine with boost thread 1.35 version
>
> native_handle() wasn't implemented for pthread in Boost 1.35. I suggest
> you upgrade to a later version. e.g. Boost 1.41 has native_handle() for
> pthread platforms.
>
> Anthony
> --
> Author of C++ Concurrency in Action http://www.stdthread.co.uk/book/
> just::thread C++0x thread library http://www.stdthread.co.uk
> Just Software Solutions Ltd http://www.justsoftwaresolutions.co.uk
> 15 Carrallack Mews, St Just, Cornwall, TR19 7UL, UK. Company No. 5478976
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net