Carlos Casado Cascado
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