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.


Author of C++ Concurrency in Action |
just::thread C++0x thread library   |
Just Software Solutions Ltd         |
15 Carrallack Mews, St Just, Cornwall, TR19 7UL, UK. Company No. 5478976

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at