• 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

0.0
/components/process/src/server/child_component.cpp
1
//  Copyright (c) 2016 Hartmut Kaiser
2
//
3
//  SPDX-License-Identifier: BSL-1.0
4
//  Distributed under the Boost Software License, Version 1.0. (See accompanying
5
//  file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6

7
#include <hpx/modules/runtime_local.hpp>
8

9
#include <hpx/components/process/child.hpp>
10
#include <hpx/components/process/server/child.hpp>
11

12
#include <hpx/components/process/util/terminate.hpp>
13
#include <hpx/components/process/util/wait_for_exit.hpp>
14

15
#include <functional>
16

17
///////////////////////////////////////////////////////////////////////////////
18
HPX_REGISTER_ACTION(hpx::components::process::server::child::terminate_action,
×
19
    hpx_components_process_server_child_terminate_action)
20

21
HPX_REGISTER_ACTION(
22
    hpx::components::process::server::child::wait_for_exit_action,
×
23
    hpx_components_process_server_child_wait_for_exit)
24

25
namespace hpx { namespace components { namespace process { namespace server {
26
    void child::terminate()
27
    {
28
        process::util::terminate(child_);
×
29
    }
30

×
31
    int child::wait_for_exit()
×
32
    {
33
        int (*f)(process::util::child const&) =
×
34
            &process::util::wait_for_exit<process::util::child>;
35
        return hpx::run_as_os_thread(f, std::ref(child_)).get();
×
36
    }
37
}}}}    // namespace hpx::components::process::server
×
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