Android-cuttlefish cvd tool
Classes | Namespaces | Functions
subprocess.cpp File Reference
#include "cuttlefish/host/graphics_detector/subprocess.h"
#include <errno.h>
#include <poll.h>
#include <signal.h>
#include <string.h>
#include <sys/wait.h>
#include <unistd.h>
#include <chrono>
#include <condition_variable>
#include <functional>
#include <mutex>
#include <string>
#include <thread>
#include <utility>
#include "cuttlefish/host/graphics_detector/expected.h"
#include "cuttlefish/posix/temp_failure_retry.h"
Include dependency graph for subprocess.cpp:

Classes

class  gfxstream::anonymous_namespace{subprocess.cpp}::ScopedCloser
 

Namespaces

namespace  gfxstream
 
namespace  gfxstream::anonymous_namespace{subprocess.cpp}
 

Functions

int gfxstream::anonymous_namespace{subprocess.cpp}::PidfdOpen (pid_t pid)
 
gfxstream::expected< Ok, std::string > gfxstream::anonymous_namespace{subprocess.cpp}::WaitForChild (pid_t pid)
 
gfxstream::expected< Ok, std::string > gfxstream::anonymous_namespace{subprocess.cpp}::WaitForChildWithTimeoutFallback (pid_t pid, std::chrono::milliseconds timeout)
 
gfxstream::expected< Ok, std::string > gfxstream::anonymous_namespace{subprocess.cpp}::WaitForChildWithTimeout (pid_t pid, int pidfd, std::chrono::milliseconds timeout)
 
gfxstream::expected< Ok, std::string > gfxstream::DoWithSubprocessCheck (const std::function< gfxstream::expected< Ok, std::string >()> &function, std::chrono::milliseconds timeout)