GCC Middle and Back End API Reference
jobserver_info Struct Reference

#include <opts-jobserver.h>

Public Member Functions

 jobserver_info ()
 
void connect ()
 
void disconnect ()
 
bool get_token ()
 
void return_token ()
 

Data Fields

string error_msg = ""
 
string skipped_makeflags = ""
 
int rfd = -1
 
int wfd = -1
 
string pipe_path = ""
 
int pipefd = -1
 
bool is_active = false
 
bool is_connected = false
 

Constructor & Destructor Documentation

◆ jobserver_info()

jobserver_info::jobserver_info ( )

Member Function Documentation

◆ connect()

void jobserver_info::connect ( )

References is_connected, pipe_path, and pipefd.

◆ disconnect()

void jobserver_info::disconnect ( )

References gcc_assert, pipe_path, and pipefd.

◆ get_token()

bool jobserver_info::get_token ( )

References errno, gcc_assert, pipe_path, pipefd, and rfd.

◆ return_token()

void jobserver_info::return_token ( )

References gcc_assert, pipe_path, pipefd, and wfd.

Field Documentation

◆ error_msg

string jobserver_info::error_msg = ""

Referenced by jobserver_info(), and run_gcc().

◆ is_active

bool jobserver_info::is_active = false

◆ is_connected

bool jobserver_info::is_connected = false

Referenced by connect().

◆ pipe_path

string jobserver_info::pipe_path = ""

◆ pipefd

int jobserver_info::pipefd = -1

◆ rfd

int jobserver_info::rfd = -1

Referenced by get_token(), and jobserver_info().

◆ skipped_makeflags

string jobserver_info::skipped_makeflags = ""

◆ wfd

int jobserver_info::wfd = -1

Referenced by jobserver_info(), and return_token().


The documentation for this struct was generated from the following files: