Android-cuttlefish cvd tool
Classes | Functions
gfxstream::anonymous_namespace{subprocess.cpp} Namespace Reference

Classes

class  ScopedCloser
 

Functions

int PidfdOpen (pid_t pid)
 
gfxstream::expected< Ok, std::string > WaitForChild (pid_t pid)
 
gfxstream::expected< Ok, std::string > WaitForChildWithTimeoutFallback (pid_t pid, std::chrono::milliseconds timeout)
 
gfxstream::expected< Ok, std::string > WaitForChildWithTimeout (pid_t pid, int pidfd, std::chrono::milliseconds timeout)
 

Function Documentation

◆ PidfdOpen()

int gfxstream::anonymous_namespace{subprocess.cpp}::PidfdOpen ( pid_t  pid)

◆ WaitForChild()

gfxstream::expected< Ok, std::string > gfxstream::anonymous_namespace{subprocess.cpp}::WaitForChild ( pid_t  pid)

◆ WaitForChildWithTimeout()

gfxstream::expected< Ok, std::string > gfxstream::anonymous_namespace{subprocess.cpp}::WaitForChildWithTimeout ( pid_t  pid,
int  pidfd,
std::chrono::milliseconds  timeout 
)

◆ WaitForChildWithTimeoutFallback()

gfxstream::expected< Ok, std::string > gfxstream::anonymous_namespace{subprocess.cpp}::WaitForChildWithTimeoutFallback ( pid_t  pid,
std::chrono::milliseconds  timeout 
)