Boost logo

Boost Users :

Subject: Re: [Boost-users] Thread prioritization
From: Ben Pope (benpope81_at_[hidden])
Date: 2014-11-20 04:53:31


On Thursday, November 20, 2014 05:27 PM, Alexander Carôt wrote:
> Hello all,
>
> is it correct that boost does not offer thread prioritization ?

There's nothing directly on the interface.

> I am dealing with an application with a number of threads, which all
> depend on the realtime-scheduled sound card callback thread.
>
> These threads must have the same realtime scheduling priority.
>
> Is there a way to achieve this ?

Basically there's a platform specific back door: native_handle.

http://www.boost.org/doc/libs/1_57_0/doc/html/thread/thread_management.html#thread.thread_management.tutorial.attributes

Ben


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