|
Boost Users : |
Subject: Re: [Boost-users] Thread prioritization
From: Alexander Carôt (Alexander_Carot_at_[hidden])
Date: 2014-11-20 09:00:31
>If BOOST_THREAD_DEFINES_THREAD_ATTRIBUTES_NATIVE_HANDLE is defined,
>boost::thread has a native_handle_type and a native_handle() function.
>
>You can use those (pthread_t, HANDLE, whatnot) with your native platform
>functionality of choice to adjust thread priority, if such a concept
>exists.
Allright all I needed to know !
>A reason it doesn't exist in Boost is because not all platforms has an
>uniform "priority" system with the same kind of absolute/relative
>priorities and tiers.
Makes sense and is completely acceptable if the above mentioned concept
applies.
Thanks,
best
Alex
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