Android-cuttlefish cvd tool
Classes | Namespaces | Functions
subprocess.cpp File Reference
#include "cuttlefish/host/graphics_detector/subprocess.h"
#include <dlfcn.h>
#include <poll.h>
#include <string.h>
#include <sys/prctl.h>
#include <sys/wait.h>
#include <unistd.h>
#include <condition_variable>
#include <functional>
#include <mutex>
#include <thread>
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)