Home
last modified time | relevance | path

Searched refs:child_handle (Results 1 – 15 of 15) sorted by relevance

/third_party/boost/boost/process/detail/posix/
Dchild_handle.hpp20 struct child_handle struct
23 explicit child_handle(int pid) : pid(pid) in child_handle() argument
26 child_handle() = default;
27 ~child_handle() = default;
29 child_handle(const child_handle & c) = delete;
30 child_handle(child_handle && c) : pid(c.pid) in child_handle() argument
34 child_handle &operator=(const child_handle & c) = delete;
35 child_handle &operator=(child_handle && c) in operator =() argument
Dwait_for_exit.hpp22 inline void wait(const child_handle &p, int & exit_code, std::error_code &ec) noexcept in wait()
43 inline void wait(const child_handle &p, int & exit_code) noexcept in wait()
52 const child_handle &p, in wait_until()
207 const child_handle &p, in wait_until()
219 const child_handle &p, in wait_for()
229 const child_handle &p, in wait_for()
Dterminate.hpp22 inline void terminate(const child_handle &p, std::error_code &ec) noexcept in terminate()
33 inline void terminate(const child_handle &p) in terminate()
Dis_running.hpp30 inline bool is_running(const child_handle &p, int & exit_code, std::error_code &ec) noexcept in is_running()
54 inline bool is_running(const child_handle &p, int & exit_code) in is_running()
Dexecutor.hpp355 child c(child_handle(pid), exit_status); in invoke()
441 child c(child_handle(pid), exit_status); in invoke()
478 child c(child_handle(pid), exit_status); in invoke()
522 child c(child_handle(pid), exit_status); in invoke()
/third_party/boost/boost/process/detail/windows/
Dchild_handle.hpp22 struct child_handle struct
26 explicit child_handle(const ::boost::winapi::PROCESS_INFORMATION_ &pi) : in child_handle() argument
30 explicit child_handle(pid_t pid) : in child_handle() function
44 child_handle() = default;
45 ~child_handle() in ~child_handle() argument
50 child_handle(const child_handle & c) = delete;
51 child_handle(child_handle && c) : proc_info(c.proc_info) in child_handle() function
56 child_handle &operator=(const child_handle & c) = delete;
57 child_handle &operator=(child_handle && c) in operator =() argument
Dwait_for_exit.hpp23 inline void wait(child_handle &p, int & exit_code, std::error_code &ec) noexcept in wait()
44 inline void wait(child_handle &p, int & exit_code) in wait()
53 child_handle &p, in wait_until()
89 child_handle &p, in wait_until()
101 child_handle &p, in wait_for()
111 child_handle &p, in wait_for()
Dterminate.hpp21 struct child_handle;
23 inline void terminate(child_handle &p, std::error_code &ec) noexcept in terminate()
35 inline void terminate(child_handle &p) in terminate()
Dis_running.hpp19 struct child_handle;
21 inline bool is_running(const child_handle &p, int & exit_code, std::error_code &ec) noexcept in is_running()
39 inline bool is_running(const child_handle &p, int & exit_code) in is_running()
Dexecutor.hpp201 child c{child_handle(proc_info), exit_status}; in operator ()()
/third_party/musl/libc-test/src/functionalext/ldso_randomization/
Dldso_randomization_manual.c88 void *child_handle = dlopen(LIB_NAME, RTLD_NOW); in dlopen_randomization_0700() local
89 t_printf("%s child handle is %p \n", __FUNCTION__, child_handle); in dlopen_randomization_0700()
90 if (child_handle) { in dlopen_randomization_0700()
91 dlclose(child_handle); in dlopen_randomization_0700()
93 write(fd[1], &child_handle, sizeof(void *)); in dlopen_randomization_0700()
157 void *child_handle = dlopen_ext(LIB_NAME, RTLD_NOW, &extinfo); in dlopen_ext_randomization_0700() local
158 t_printf("%s child handle is %p \n", __FUNCTION__, child_handle); in dlopen_ext_randomization_0700()
159 if (child_handle) { in dlopen_ext_randomization_0700()
160 dlclose(child_handle); in dlopen_ext_randomization_0700()
162 write(fd[1], &child_handle, sizeof(void *)); in dlopen_ext_randomization_0700()
[all …]
Dldso_randomization_test.c326 void *child_handle = 0; in dlopen_ext_randomization_0900() local
340 child_handle = dlopen_ext(LIB_NAME_A, RTLD_NOW, &extinfo); in dlopen_ext_randomization_0900()
341 EXPECT_PTRNE(__FUNCTION__, child_handle, 0); in dlopen_ext_randomization_0900()
342 if (!child_handle) { in dlopen_ext_randomization_0900()
345 child_sym = dlsym(child_handle, "test"); in dlopen_ext_randomization_0900()
347 dlclose(child_handle); in dlopen_ext_randomization_0900()
/third_party/boost/boost/process/detail/
Dchild_decl.hpp47 ::boost::process::detail::api::child_handle _child_handle;
57 typedef ::boost::process::detail::api::child_handle child_handle; typedef in boost::process::child
58 typedef child_handle::process_handle_t native_handle_t;
59 …explicit child(child_handle &&ch, std::shared_ptr<std::atomic<int>> &ptr) : _child_handle(std::mov… in child()
60 …explicit child(child_handle &&ch, const std::shared_ptr<std::atomic<int>> &ptr) : _child_handle(st… in child()
61 explicit child(child_handle &&ch) : _child_handle(std::move(ch)) {} in child()
/third_party/libuv/src/win/
Dprocess-stdio.c257 HANDLE child_handle; in uv__stdio_create() local
260 err = uv__duplicate_fd(loop, fdopt.data.fd, &child_handle); in uv__stdio_create()
273 switch (GetFileType(child_handle)) { in uv__stdio_create()
290 CloseHandle(child_handle); in uv__stdio_create()
301 CHILD_STDIO_HANDLE(buffer, i) = child_handle; in uv__stdio_create()
307 HANDLE stream_handle, child_handle; in uv__stdio_create() local
333 err = uv__duplicate_handle(loop, stream_handle, &child_handle); in uv__stdio_create()
337 CHILD_STDIO_HANDLE(buffer, i) = child_handle; in uv__stdio_create()
/third_party/boost/tools/build/src/engine/
Ddebugger.cpp538 static HANDLE child_handle; variable
991 WaitForSingleObject( child_handle, INFINITE ); in debug_parent_wait()
995 GetExitCodeProcess( child_handle, &exit_code ); in debug_parent_wait()
998 CloseHandle( child_handle ); in debug_parent_wait()
1175 child_handle = pi.hProcess; in debug_start_child()