Go to the documentation of this file.
28 #define NUM_PINGS (1000 * 1000)
112 printf(
"async%d: %.2f sec (%s/sec)\n",
_Use_decl_annotations_ int __cdecl printf(const char *_Format,...)
static struct test_ctx ctx
UV_EXTERN int uv_thread_join(uv_thread_t *tid)
UV_EXTERN int uv_run(uv_loop_t *, uv_run_mode mode)
#define container_of(ptr, type, member)
static uv_thread_t * threads
UV_EXTERN void uv_close(uv_handle_t *handle, uv_close_cb close_cb)
static void worker(void *arg)
UV_EXTERN int uv_loop_close(uv_loop_t *loop)
UV_EXTERN uv_loop_t * uv_default_loop(void)
static void worker_async_cb(uv_async_t *handle)
unsigned __int64 uint64_t
static int test_async(int nthreads)
static unsigned int nthreads
UV_EXTERN int uv_loop_init(uv_loop_t *loop)
UV_EXTERN int uv_thread_create(uv_thread_t *tid, uv_thread_cb entry, void *arg)
static void main_async_cb(uv_async_t *handle)
#define MAKE_VALGRIND_HAPPY()
GTEST_API_ const char * fmt
UV_EXTERN int uv_async_init(uv_loop_t *, uv_async_t *async, uv_async_cb async_cb)
UV_EXTERN uint64_t uv_hrtime(void)
static uv_thread_t thread
UV_EXTERN int uv_async_send(uv_async_t *async)
grpc
Author(s):
autogenerated on Thu Mar 13 2025 02:58:36