Classes | Functions | Variables
test-eintr-handling.c File Reference
#include "uv.h"
#include "task.h"
#include <string.h>
#include <unistd.h>
Include dependency graph for test-eintr-handling.c:

Go to the source code of this file.

Classes

struct  thread_ctx
 

Functions

static void sig_func (uv_signal_t *handle, int signum)
 
 TEST_IMPL (eintr_handling)
 
static void thread_main (void *arg)
 

Variables

static char buf [32]
 
static uv_buf_t iov
 
static uv_loop_tloop
 
int pipe_fds [2]
 
static uv_fs_t read_req
 
static char test_buf [] = "test-buffer\n"
 

Function Documentation

◆ sig_func()

static void sig_func ( uv_signal_t handle,
int  signum 
)
static

Definition at line 60 of file test-eintr-handling.c.

◆ TEST_IMPL()

TEST_IMPL ( eintr_handling  )

Definition at line 64 of file test-eintr-handling.c.

◆ thread_main()

static void thread_main ( void *  arg)
static

Definition at line 49 of file test-eintr-handling.c.

Variable Documentation

◆ buf

char buf[32]
static

Definition at line 40 of file test-eintr-handling.c.

◆ iov

uv_buf_t iov
static

Definition at line 38 of file test-eintr-handling.c.

◆ loop

uv_loop_t* loop
static

Definition at line 36 of file test-eintr-handling.c.

◆ pipe_fds

int pipe_fds[2]

Definition at line 42 of file test-eintr-handling.c.

◆ read_req

uv_fs_t read_req
static

Definition at line 37 of file test-eintr-handling.c.

◆ test_buf

char test_buf[] = "test-buffer\n"
static

Definition at line 41 of file test-eintr-handling.c.



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