Macros | Functions | Variables
test-udp-send-hang-loop.c File Reference
#include "uv.h"
#include "task.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Include dependency graph for test-udp-send-hang-loop.c:

Go to the source code of this file.

Macros

#define CHECK_OBJECT(handle, type, parent)   ASSERT((type*)(handle) == &(parent))
 

Functions

static void idle_cb (uv_idle_t *handle)
 
static void send_cb (uv_udp_send_t *req, int status)
 
 TEST_IMPL (udp_send_hang_loop)
 

Variables

static struct sockaddr_in addr
 
static uv_buf_t buf
 
static uv_udp_t client
 
static uv_idle_t idle_handle
 
static int loop_hang_called
 
static char send_data [1024]
 
static uv_udp_send_t send_req
 

Macro Definition Documentation

◆ CHECK_OBJECT

#define CHECK_OBJECT (   handle,
  type,
  parent 
)    ASSERT((type*)(handle) == &(parent))

Definition at line 29 of file test-udp-send-hang-loop.c.

Function Documentation

◆ idle_cb()

static void idle_cb ( uv_idle_t handle)
static

Definition at line 44 of file test-udp-send-hang-loop.c.

◆ send_cb()

static void send_cb ( uv_udp_send_t req,
int  status 
)
static

Definition at line 68 of file test-udp-send-hang-loop.c.

◆ TEST_IMPL()

TEST_IMPL ( udp_send_hang_loop  )

Definition at line 79 of file test-udp-send-hang-loop.c.

Variable Documentation

◆ addr

struct sockaddr_in addr
static

Definition at line 36 of file test-udp-send-hang-loop.c.

◆ buf

uv_buf_t buf
static

Definition at line 35 of file test-udp-send-hang-loop.c.

◆ client

uv_udp_t client
static

Definition at line 32 of file test-udp-send-hang-loop.c.

◆ idle_handle

uv_idle_t idle_handle
static

Definition at line 33 of file test-udp-send-hang-loop.c.

◆ loop_hang_called

int loop_hang_called
static

Definition at line 39 of file test-udp-send-hang-loop.c.

◆ send_data

char send_data[1024]
static

Definition at line 37 of file test-udp-send-hang-loop.c.

◆ send_req

uv_udp_send_t send_req
static

Definition at line 34 of file test-udp-send-hang-loop.c.



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