src/runtime/components/console_error_sink.cpp
void console_error_sink(naming::id_type const& dst,
        boost::exception_ptr const& e)
    {
        // Report the error only if the thread-manager is up.
        if (threads::threadmanager_is(state_running))
        {
            if (threads::get_self_ptr())
            {
                hpx::async<server::console_error_sink_action>(dst, e).get();
            }
            else
            {
                // FIXME: This should use a sync_put_parcel.
                hpx::apply<server::console_error_sink_action>(dst, e);
            }
        }
    }
// Stub function which applies the console_error_sink action.
Stub function which applies the console_error_sink action.
Stub function which applies the console_error_sink action .
void console_error_sink(naming::id_type const& dst,
        boost::exception_ptr const& e)
    {
        if (threads::threadmanager_is(state_running))
        {
            if (threads::get_self_ptr())
            {
                hpx::async<server::console_error_sink_action>(dst, e).get();
            }
            else
            {
                hpx::apply<server::console_error_sink_action>(dst, e);
            }
        }
    }
void console_error_sink ( naming :: id_type const & dst , boost :: exception_ptr const & e ) { if ( threads :: threadmanager_is ( state_running ) ) { if ( threads :: get_self_ptr ( ) ) { hpx :: async < server :: console_error_sink_action > ( dst , e ) . get ( ) ; } else { hpx :: apply < server :: console_error_sink_action > ( dst , e ) ; } } }
Stub function which applies the console_error_sink action.
Stub function which applies the console_error_sink action .
// Report the error only if the thread-manager is up. // FIXME: This should use a sync_put_parcel.