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@gmail.com>
Carlos Casado Cascado <quierosermacgyver@gmail.com> 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@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users