threads::policies::callback_notifier::
    on_startstop_type
    get_thread_on_stop_func()

Description

Retrieve the currently installed stop handler function. This is a function that will be called by pika for each newly created thread that is made known to the runtime. pika stores exactly one such function reference, thus the caller needs to make sure any newly registered stop function chains into the previous one (see\a

Declared at: libs/pika/runtime/include/pika/runtime/thread_hooks.hpp:39

Returns

The currently installed error handler function.