#include "src/core/lib/gpr/spinlock.h"
#include <stdio.h>
#include <stdlib.h>
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include <grpc/support/sync.h>
#include <grpc/support/time.h>
#include "src/core/lib/gprpp/thd.h"
#include "test/core/util/test_config.h"
Go to the source code of this file.
Classes | |
struct | test |
Functions | |
static void | inc (void *v) |
static void | inctry (void *v) |
int | main (int argc, char *argv[]) |
static void | test (const char *name, void(*body)(void *m), int timeout_s, int incr_step) |
static void | test_create_threads (struct test *m, void(*body)(void *arg)) |
static void | test_destroy (struct test *m) |
static struct test * | test_new (int threads, int64_t iterations, int incr_step) |
static void | test_wait (struct test *m) |
|
static |
Definition at line 125 of file spinlock_test.cc.
|
static |
Definition at line 137 of file spinlock_test.cc.
Definition at line 151 of file spinlock_test.cc.
Definition at line 90 of file spinlock_test.cc.
Definition at line 68 of file spinlock_test.cc.
|
static |
Definition at line 62 of file spinlock_test.cc.
Definition at line 48 of file spinlock_test.cc.
|
static |
Definition at line 77 of file spinlock_test.cc.