Functions | Variables
json_run_localhost.cc File Reference
#include <signal.h>
#include <string.h>
#include <memory>
#include <mutex>
#include <sstream>
#include <string>
#include <grpc/support/log.h>
#include "src/core/lib/gpr/env.h"
#include "test/core/util/port.h"
#include "test/cpp/util/subprocess.h"
Include dependency graph for json_run_localhost.cc:

Go to the source code of this file.

Functions

template<class T >
std::string as_string (const T &val)
 
static void LogStatus (int status, const char *label)
 
int main (int argc, char **argv)
 
static void register_sighandler ()
 
static void sighandler (int)
 

Variables

static SubProcessg_driver
 
static SubProcessg_workers [kNumWorkers]
 
constexpr auto kNumWorkers = 2
 

Function Documentation

◆ as_string()

template<class T >
std::string as_string ( const T val)

Definition at line 45 of file json_run_localhost.cc.

◆ LogStatus()

static void LogStatus ( int  status,
const char *  label 
)
static

Definition at line 69 of file json_run_localhost.cc.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 81 of file json_run_localhost.cc.

◆ register_sighandler()

static void register_sighandler ( )
static

Definition at line 60 of file json_run_localhost.cc.

◆ sighandler()

static void sighandler ( int  )
static

Definition at line 51 of file json_run_localhost.cc.

Variable Documentation

◆ g_driver

SubProcess* g_driver
static

Definition at line 41 of file json_run_localhost.cc.

◆ g_workers

SubProcess* g_workers[kNumWorkers]
static

Definition at line 42 of file json_run_localhost.cc.

◆ kNumWorkers

constexpr auto kNumWorkers = 2
constexpr

Definition at line 39 of file json_run_localhost.cc.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:21