Searched refs:exec_handle (Results 1 – 12 of 12) sorted by relevance
/freebsd-src/contrib/kyua/utils/process/ |
H A D | executor.cpp | 89 typedef std::map< int, executor::exec_handle > exec_handles_map; 128 /// Internal implementation for the exec_handle class. 129 struct utils::process::executor::exec_handle::impl : utils::noncopyable { 195 executor::exec_handle::exec_handle(std::shared_ptr< impl > pimpl) : in exec_handle() function in executor::exec_handle 202 executor::exec_handle::~exec_handle(void) in ~exec_handle() 211 executor::exec_handle::pid(void) const in pid() 223 executor::exec_handle::control_directory(void) const in control_directory() 235 executor::exec_handle 862 wait(const exec_handle exec_handle) wait() argument [all...] |
H A D | executor.hpp | 44 /// exec_handle, which is unique among the set of active processes. 108 /// exec_handle objects with corresponding exit_handle objects via their 114 class exec_handle { class 121 exec_handle(std::shared_ptr< impl >); 124 ~exec_handle(void); 185 exec_handle spawn_post(const utils::fs::path&, 193 exec_handle spawn_followup_post(const exit_handle&, 205 exec_handle spawn(Hook, 212 exec_handle spawn_followup(Hook, 216 exit_handle wait(const exec_handle); [all...] |
H A D | executor_test.cpp | 314 static executor::exec_handle 321 const executor::exec_handle exec_handle = handle.spawn< Hook >( in do_spawn() local 323 return exec_handle; in do_spawn() 383 const executor::exec_handle exec_handle = do_spawn(handle, child_exit(41)); in ATF_TEST_CASE_BODY() local 386 ATF_REQUIRE_EQ(exec_handle.pid(), exit_handle.original_pid()); in ATF_TEST_CASE_BODY() 454 const executor::exec_handle exec_handle = do_spawn(handle, child_print); in ATF_TEST_CASE_BODY() local 458 ATF_REQUIRE_EQ(exec_handle.pid(), exit_handle.original_pid()); in ATF_TEST_CASE_BODY() 485 const executor::exec_handle exec_handle = do_spawn( in ATF_TEST_CASE_BODY() local 492 ATF_REQUIRE_EQ(exec_handle.pid(), exit_handle.original_pid()); in ATF_TEST_CASE_BODY() 631 const executor::exec_handle exec_handle = in ATF_TEST_CASE_BODY() local [all …]
|
H A D | executor_fwd.hpp | 40 class exec_handle;
|
H A D | executor.ipp | 117 executor::exec_handle 161 executor::exec_handle
|
/freebsd-src/contrib/kyua/engine/ |
H A D | scheduler_test.cpp | 573 const scheduler::exec_handle exec_handle = handle.spawn_test( in ATF_TEST_CASE_BODY() local 580 ATF_REQUIRE_EQ(exec_handle, result_handle->original_pid()); in ATF_TEST_CASE_BODY() 605 std::map< scheduler::exec_handle, model::test_program_ptr > in ATF_TEST_CASE_BODY() 607 std::map< scheduler::exec_handle, std::string > exp_test_case_names; in ATF_TEST_CASE_BODY() 608 std::map< scheduler::exec_handle, datetime::timestamp > exp_start_times; in ATF_TEST_CASE_BODY() 609 std::map< scheduler::exec_handle, int > exp_exit_statuses; in ATF_TEST_CASE_BODY() 627 scheduler::exec_handle exec_handle; in ATF_TEST_CASE_BODY() local 630 exec_handle = handle.spawn_test(program, test_case_0, user_config); in ATF_TEST_CASE_BODY() 631 exp_test_programs.insert(std::make_pair(exec_handle, program)); in ATF_TEST_CASE_BODY() 632 exp_test_case_names.insert(std::make_pair(exec_handle, test_case_0)); in ATF_TEST_CASE_BODY() [all …]
|
H A D | scheduler.cpp | 755 /// \return An exec_handle. 1018 const executor::exec_handle cleanup_handle = spawn_cleanup( in setup() 1036 executor::exec_handle in list_tests() 1051 const executor::exec_handle handle = generic.spawn_followup( in list_tests() 1080 const executor::exec_handle cleanup_handle = spawn_execenv_cleanup( 1096 executor::exec_handle in spawn_test() 1107 const executor::exec_handle handle = generic.spawn_followup( in spawn_test() 1238 const executor::exec_handle exec_handle = _pimpl->generic.spawn( in wait_any() 1241 executor::exit_handle exit_handle = _pimpl->generic.wait(exec_handle); in wait_any() 1046 const executor::exec_handle exec_handle = _pimpl->generic.spawn( list_tests() local 1292 const exec_handle exec_handle = spawn_test( debug_test() local [all...] |
H A D | scheduler_fwd.hpp | 45 typedef int exec_handle; typedef
|
H A D | scheduler.hpp | 249 exec_handle spawn_test(const model::test_program_ptr,
|
/freebsd-src/contrib/kyua/utils/ |
H A D | stacktrace_test.cpp | 199 const executor::exec_handle exec_handle = executor_handle.spawn( in generate_core() local 201 const executor::exit_handle exit_handle = executor_handle.wait(exec_handle); in generate_core() 562 const executor::exec_handle exec_handle = handle.spawn( in ATF_TEST_CASE_BODY() local 564 executor::exit_handle exit_handle = handle.wait(exec_handle); in ATF_TEST_CASE_BODY() 580 const executor::exec_handle exec_handle = handle.spawn( in ATF_TEST_CASE_BODY() local 582 executor::exit_handle exit_handle = handle.wait(exec_handle); in ATF_TEST_CASE_BODY()
|
H A D | stacktrace.cpp | 321 const executor::exec_handle exec_handle = in dump_stacktrace() local 326 executor_handle.wait(exec_handle); in dump_stacktrace()
|
/freebsd-src/contrib/kyua/drivers/ |
H A D | run_tests.cpp | 182 const scheduler::exec_handle exec_handle = handle.spawn_test( in start_test() local 184 return std::make_pair(exec_handle, test_case_id); in start_test()
|