• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

STEllAR-GROUP / hpx / #882

31 Aug 2023 07:44PM UTC coverage: 41.798% (-44.7%) from 86.546%
#882

push

19442 of 46514 relevant lines covered (41.8%)

126375.38 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

25.0
/libs/full/runtime_components/src/server/console_error_sink_server.cpp
1
//  Copyright (c) 2007-2021 Hartmut Kaiser
2
//  Copyright (c)      2011 Bryce Lelbach
3
//
4
//  SPDX-License-Identifier: BSL-1.0
5
//  Distributed under the Boost Software License, Version 1.0. (See accompanying
6
//  file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
7

8
#include <hpx/config.hpp>
9
#include <hpx/actions/transfer_action.hpp>
10
#include <hpx/actions_base/basic_action.hpp>
11
#include <hpx/async_distributed/base_lco_with_value.hpp>
12
#include <hpx/async_distributed/continuation.hpp>
13
#include <hpx/async_distributed/transfer_continuation_action.hpp>
14
#include <hpx/modules/errors.hpp>
15
#include <hpx/modules/ini.hpp>
16
#include <hpx/modules/runtime_local.hpp>
17
#include <hpx/runtime_components/server/console_error_sink.hpp>
18
#include <hpx/runtime_components/server/console_error_sink_singleton.hpp>
19

20
#include <exception>
21

22
///////////////////////////////////////////////////////////////////////////////
23
namespace hpx { namespace components { namespace server {
24

25
    ///////////////////////////////////////////////////////////////////////////
26
    // implementation of this console error sink
27
    void console_error_sink(std::exception_ptr const& e)
×
28
    {
29
        // dispatch this error to registered functions
30
        get_error_dispatcher()(hpx::diagnostic_information(e));
×
31
    }
×
32
}}}    // namespace hpx::components::server
33

34
///////////////////////////////////////////////////////////////////////////////
35
// This must be in global namespace
36
HPX_REGISTER_ACTION_ID(hpx::components::server::console_error_sink_action,
192✔
37
    console_error_sink_action, hpx::actions::console_error_sink_action_id)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc