threads::thread_priority get_thread_priority(
const pika::threads::thread_id_type& id,
pika::error_code& ec = throws)
threads::thread_priority get_thread_priority(
const pika::threads::thread_id_type& id,
pika::error_code& ec = throws)Description
//////////////////////////////////////////////////////////////////////// Return priority of the given thread
Declared at: libs/pika/threading_base/include/pika/threading_base/thread_helpers.hpp:358
Parameters
- const pika::threads::thread_id_type& id
- [in] The thread id of the thread whose priority is queried.
- pika::error_code& ec = throws
- [in,out] this represents the error status on exit, if this is pre-initialized to \athe function will throw on error instead.