hpx/runtime_components/server/console_error_sink_singleton.hpp

See Public API for a list of names and headers that are part of the public HPX API.

namespace hpx
namespace components
namespace server

Functions

console_error_dispatcher &get_error_dispatcher()
class console_error_dispatcher

Public Types

typedef util::spinlock mutex_type
typedef hpx::function<void(std::string const&)> sink_type

Public Functions

HPX_NON_COPYABLE(console_error_dispatcher)
console_error_dispatcher()
template<typename F>
sink_type set_error_sink(F &&sink)
void operator()(std::string const &msg)

Private Members

mutex_type mtx_
sink_type sink_