Macros | Functions | Variables
test-loop-handles.c File Reference
#include "uv.h"
#include "task.h"
#include <math.h>
Include dependency graph for test-loop-handles.c:

Go to the source code of this file.

Macros

#define IDLE_COUNT   7
 
#define ITERATIONS   21
 
#define TIMEOUT   100
 

Functions

static void check_cb (uv_check_t *handle)
 
static void check_close_cb (uv_handle_t *handle)
 
static void idle_1_cb (uv_idle_t *handle)
 
static void idle_1_close_cb (uv_handle_t *handle)
 
static void idle_2_cb (uv_idle_t *handle)
 
static void idle_2_close_cb (uv_handle_t *handle)
 
static void prepare_1_cb (uv_prepare_t *handle)
 
static void prepare_1_close_cb (uv_handle_t *handle)
 
static void prepare_2_cb (uv_prepare_t *handle)
 
static void prepare_2_close_cb (uv_handle_t *handle)
 
 TEST_IMPL (loop_handles)
 
static void timer_cb (uv_timer_t *handle)
 

Variables

static int check_cb_called = 0
 
static int check_close_cb_called = 0
 
static uv_check_t check_handle
 
static int idle_1_cb_called = 0
 
static int idle_1_close_cb_called = 0
 
static uv_idle_t idle_1_handles [IDLE_COUNT]
 
static int idle_2_cb_called = 0
 
static int idle_2_cb_started = 0
 
static int idle_2_close_cb_called = 0
 
static uv_idle_t idle_2_handle
 
static int idle_2_is_active = 0
 
static int idles_1_active = 0
 
static int loop_iteration = 0
 
static int prepare_1_cb_called = 0
 
static int prepare_1_close_cb_called = 0
 
static uv_prepare_t prepare_1_handle
 
static int prepare_2_cb_called = 0
 
static int prepare_2_close_cb_called = 0
 
static uv_prepare_t prepare_2_handle
 
static uv_timer_t timer_handle
 

Macro Definition Documentation

◆ IDLE_COUNT

#define IDLE_COUNT   7

Definition at line 73 of file test-loop-handles.c.

◆ ITERATIONS

#define ITERATIONS   21

Definition at line 74 of file test-loop-handles.c.

◆ TIMEOUT

#define TIMEOUT   100

Definition at line 75 of file test-loop-handles.c.

Function Documentation

◆ check_cb()

static void check_cb ( uv_check_t handle)
static

Definition at line 206 of file test-loop-handles.c.

◆ check_close_cb()

static void check_close_cb ( uv_handle_t handle)
static

Definition at line 188 of file test-loop-handles.c.

◆ idle_1_cb()

static void idle_1_cb ( uv_idle_t handle)
static

Definition at line 140 of file test-loop-handles.c.

◆ idle_1_close_cb()

static void idle_1_close_cb ( uv_handle_t handle)
static

Definition at line 169 of file test-loop-handles.c.

◆ idle_2_cb()

static void idle_2_cb ( uv_idle_t handle)
static

Definition at line 128 of file test-loop-handles.c.

◆ idle_2_close_cb()

static void idle_2_close_cb ( uv_handle_t handle)
static

Definition at line 115 of file test-loop-handles.c.

◆ prepare_1_cb()

static void prepare_1_cb ( uv_prepare_t handle)
static

Definition at line 262 of file test-loop-handles.c.

◆ prepare_1_close_cb()

static void prepare_1_close_cb ( uv_handle_t handle)
static

Definition at line 179 of file test-loop-handles.c.

◆ prepare_2_cb()

static void prepare_2_cb ( uv_prepare_t handle)
static

Definition at line 242 of file test-loop-handles.c.

◆ prepare_2_close_cb()

static void prepare_2_close_cb ( uv_handle_t handle)
static

Definition at line 197 of file test-loop-handles.c.

◆ TEST_IMPL()

TEST_IMPL ( loop_handles  )

Definition at line 281 of file test-loop-handles.c.

◆ timer_cb()

static void timer_cb ( uv_timer_t handle)
static

Definition at line 110 of file test-loop-handles.c.

Variable Documentation

◆ check_cb_called

int check_cb_called = 0
static

Definition at line 97 of file test-loop-handles.c.

◆ check_close_cb_called

int check_close_cb_called = 0
static

Definition at line 98 of file test-loop-handles.c.

◆ check_handle

uv_check_t check_handle
static

Definition at line 81 of file test-loop-handles.c.

◆ idle_1_cb_called

int idle_1_cb_called = 0
static

Definition at line 100 of file test-loop-handles.c.

◆ idle_1_close_cb_called

int idle_1_close_cb_called = 0
static

Definition at line 101 of file test-loop-handles.c.

◆ idle_1_handles

uv_idle_t idle_1_handles[IDLE_COUNT]
static

Definition at line 83 of file test-loop-handles.c.

◆ idle_2_cb_called

int idle_2_cb_called = 0
static

Definition at line 104 of file test-loop-handles.c.

◆ idle_2_cb_started

int idle_2_cb_started = 0
static

Definition at line 106 of file test-loop-handles.c.

◆ idle_2_close_cb_called

int idle_2_close_cb_called = 0
static

Definition at line 105 of file test-loop-handles.c.

◆ idle_2_handle

uv_idle_t idle_2_handle
static

Definition at line 84 of file test-loop-handles.c.

◆ idle_2_is_active

int idle_2_is_active = 0
static

Definition at line 107 of file test-loop-handles.c.

◆ idles_1_active

int idles_1_active = 0
static

Definition at line 102 of file test-loop-handles.c.

◆ loop_iteration

int loop_iteration = 0
static

Definition at line 89 of file test-loop-handles.c.

◆ prepare_1_cb_called

int prepare_1_cb_called = 0
static

Definition at line 91 of file test-loop-handles.c.

◆ prepare_1_close_cb_called

int prepare_1_close_cb_called = 0
static

Definition at line 92 of file test-loop-handles.c.

◆ prepare_1_handle

uv_prepare_t prepare_1_handle
static

Definition at line 78 of file test-loop-handles.c.

◆ prepare_2_cb_called

int prepare_2_cb_called = 0
static

Definition at line 94 of file test-loop-handles.c.

◆ prepare_2_close_cb_called

int prepare_2_close_cb_called = 0
static

Definition at line 95 of file test-loop-handles.c.

◆ prepare_2_handle

uv_prepare_t prepare_2_handle
static

Definition at line 79 of file test-loop-handles.c.

◆ timer_handle

uv_timer_t timer_handle
static

Definition at line 86 of file test-loop-handles.c.



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