Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost thread priority
From: Anthony Williams (anthony.ajw_at_[hidden])
Date: 2009-03-05 04:04:51


Andrei VANCEA <vancea_at_[hidden]> writes:

> I want to set the priority of a boost thread. It seems that this feature is not
> (yet) implemented and the only option is to go to lower level (pthread in my
> case). The documentation says that the method native_handle() should return the
> handler of the associated pthread. The problem is that this method no longer
> exists (for the pthread implemention; it is  there for the win32 version).
> Anyone knows how to get the pthread handler of a boost thread (I'm using the
> 1.35 vesion)

The native_handle was missing in 1.35. It's there in later versions.

Anthony

-- 
Author of C++ Concurrency in Action | http://www.manning.com/williams
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 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