Classes | Macros | Functions
thd_test.cc File Reference
#include "src/core/lib/gprpp/thd.h"
#include <stdio.h>
#include <stdlib.h>
#include <grpc/support/log.h>
#include <grpc/support/sync.h>
#include <grpc/support/time.h>
#include "test/core/util/test_config.h"
Include dependency graph for thd_test.cc:

Go to the source code of this file.

Classes

struct  test
 

Macros

#define NUM_THREADS   100
 

Functions

int main (int argc, char *argv[])
 
static void test1 (void)
 
static void test2 (void)
 
static void thd_body1 (void *v)
 
static void thd_body2 (void *)
 

Macro Definition Documentation

◆ NUM_THREADS

#define NUM_THREADS   100

Definition at line 32 of file thd_test.cc.

Function Documentation

◆ main()

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

Definition at line 96 of file thd_test.cc.

◆ test1()

static void test1 ( void  )
static

Definition at line 54 of file thd_test.cc.

◆ test2()

static void test2 ( void  )
static

Definition at line 81 of file thd_test.cc.

◆ thd_body1()

static void thd_body1 ( void *  v)
static

Definition at line 42 of file thd_test.cc.

◆ thd_body2()

static void thd_body2 ( void *  )
static

Definition at line 78 of file thd_test.cc.



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