Macros | Functions
fork_test.cc File Reference
#include "src/core/lib/gprpp/fork.h"
#include "src/core/lib/gprpp/thd.h"
#include "test/core/util/test_config.h"
Include dependency graph for fork_test.cc:

Go to the source code of this file.

Macros

#define CONCURRENT_TEST_THREADS   100
 
#define THREAD_DELAY_EPSILON   1500
 
#define THREAD_DELAY_MS   6000
 

Functions

static void exec_ctx_thread (void *arg)
 
int main (int argc, char *argv[])
 
static void sleeping_thd (void *arg)
 
static void test_exec_count ()
 
static void test_init ()
 
static void test_thd_count ()
 

Macro Definition Documentation

◆ CONCURRENT_TEST_THREADS

#define CONCURRENT_TEST_THREADS   100

Definition at line 51 of file fork_test.cc.

◆ THREAD_DELAY_EPSILON

#define THREAD_DELAY_EPSILON   1500

Definition at line 50 of file fork_test.cc.

◆ THREAD_DELAY_MS

#define THREAD_DELAY_MS   6000

Definition at line 49 of file fork_test.cc.

Function Documentation

◆ exec_ctx_thread()

static void exec_ctx_thread ( void *  arg)
static

Definition at line 90 of file fork_test.cc.

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 132 of file fork_test.cc.

◆ sleeping_thd()

static void sleeping_thd ( void *  arg)
static

Definition at line 53 of file fork_test.cc.

◆ test_exec_count()

static void test_exec_count ( )
static

Definition at line 96 of file fork_test.cc.

◆ test_init()

static void test_init ( )
static

Definition at line 24 of file fork_test.cc.

◆ test_thd_count()

static void test_thd_count ( )
static

Definition at line 59 of file fork_test.cc.



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