bool get_thread_interruption_enabled(
const pika::threads::thread_id_type& id,
pika::error_code& ec = throws)
bool get_thread_interruption_enabled(
const pika::threads::thread_id_type& id,
pika::error_code& ec = throws)Description
//////////////////////////////////////////////////////////////////////// Returns whether the given thread can be interrupted at this point.
Declared at: libs/pika/threading_base/include/pika/threading_base/thread_helpers.hpp:257
Parameters
- const pika::threads::thread_id_type& id
- [in] The thread id of the thread which should be 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.
Returns
This function returns \aif the given thread can be interrupted at this point in time. It will return \aotherwise.