Functions | Variables
test-async.c File Reference
#include "uv.h"
#include "task.h"
#include <stdio.h>
#include <stdlib.h>
Include dependency graph for test-async.c:

Go to the source code of this file.

Functions

static void async_cb (uv_async_t *handle)
 
static void close_cb (uv_handle_t *handle)
 
static void prepare_cb (uv_prepare_t *handle)
 
 TEST_IMPL (async)
 
static void thread_cb (void *arg)
 

Variables

static uv_async_t async
 
static volatile int async_cb_called
 
static int close_cb_called
 
static uv_mutex_t mutex
 
static uv_prepare_t prepare
 
static int prepare_cb_called
 
static uv_thread_t thread
 

Function Documentation

◆ async_cb()

static void async_cb ( uv_async_t handle)
static

Definition at line 78 of file test-async.c.

◆ close_cb()

static void close_cb ( uv_handle_t handle)
static

Definition at line 72 of file test-async.c.

◆ prepare_cb()

static void prepare_cb ( uv_prepare_t handle)
static

Definition at line 94 of file test-async.c.

◆ TEST_IMPL()

TEST_IMPL ( async  )

Definition at line 108 of file test-async.c.

◆ thread_cb()

static void thread_cb ( void *  arg)
static

Definition at line 38 of file test-async.c.

Variable Documentation

◆ async

uv_async_t async
static

Definition at line 31 of file test-async.c.

◆ async_cb_called

volatile int async_cb_called
static

Definition at line 33 of file test-async.c.

◆ close_cb_called

int close_cb_called
static

Definition at line 35 of file test-async.c.

◆ mutex

uv_mutex_t mutex
static

Definition at line 28 of file test-async.c.

◆ prepare

uv_prepare_t prepare
static

Definition at line 30 of file test-async.c.

◆ prepare_cb_called

int prepare_cb_called
static

Definition at line 34 of file test-async.c.

◆ thread

uv_thread_t thread
static

Definition at line 27 of file test-async.c.



grpc
Author(s):
autogenerated on Thu Mar 13 2025 03:02:26