Lines Matching refs:exec_handle

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) :
202 executor::exec_handle::~exec_handle(void)
211 executor::exec_handle::pid(void) const
223 executor::exec_handle::control_directory(void) const
235 executor::exec_handle::work_directory(void) const
245 executor::exec_handle::stdout_file(void) const
255 executor::exec_handle::stderr_file(void) const
351 LW(F("Implicitly cleaning up exit_handle for exec_handle %s; "
370 LI(F("Cleaning up exit_handle for exec_handle %s") % original_pid);
373 LI(F("Not cleaning up exit_handle for exec_handle %s; "
439 /// \return An exec_handle.
553 std::forward_list<exec_handle> stale_exec_handles;
595 const exec_handle& data = (*iter).second;
652 LI(F("Waited for subprocess with exec_handle %s") % original_pid);
658 exec_handle& data = (*iter).second;
698 exec_handle& data = (*iter).second;
803 executor::exec_handle
812 const exec_handle handle(std::shared_ptr< exec_handle::impl >(
813 new exec_handle::impl(
832 LI(F("Spawned subprocess with exec_handle %s") % handle.pid());
852 executor::exec_handle
859 const exec_handle handle(std::shared_ptr< exec_handle::impl >(
860 new exec_handle::impl(
879 LI(F("Spawned subprocess with exec_handle %s") % handle.pid());
886 /// \param exec_handle The handle of the process to wait for.
890 executor::executor_handle::wait(const exec_handle exec_handle)
893 const process::status status = process::wait(exec_handle.pid());
894 return _pimpl->post_wait(exec_handle.pid(), status);