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

Go to the source code of this file.

Classes

struct  fs_req
 
struct  getaddrinfo_req
 
struct  test_thread
 

Functions

static void do_work (void *arg)
 
static void fs_cb (uv_fs_t *handle)
 
static void fs_do (struct fs_req *req)
 
static void getaddrinfo_cb (uv_getaddrinfo_t *handle, int status, struct addrinfo *res)
 
static void getaddrinfo_do (struct getaddrinfo_req *req)
 
 TEST_IMPL (thread_create)
 
 TEST_IMPL (thread_local_storage)
 
 TEST_IMPL (thread_stack_size)
 
 TEST_IMPL (thread_stack_size_explicit)
 
 TEST_IMPL (threadpool_multiple_event_loops)
 
static void thread_check_stack (void *arg)
 
static void thread_entry (void *arg)
 
static void tls_thread (void *arg)
 

Variables

static int thread_called
 
static uv_key_t tls_key
 

Function Documentation

◆ do_work()

static void do_work ( void *  arg)
static

Definition at line 111 of file test-thread.c.

◆ fs_cb()

static void fs_cb ( uv_fs_t handle)
static

Definition at line 101 of file test-thread.c.

◆ fs_do()

static void fs_do ( struct fs_req req)
static

Definition at line 93 of file test-thread.c.

◆ getaddrinfo_cb()

static void getaddrinfo_cb ( uv_getaddrinfo_t handle,
int  status,
struct addrinfo res 
)
static

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

◆ getaddrinfo_do()

static void getaddrinfo_do ( struct getaddrinfo_req req)
static

Definition at line 65 of file test-thread.c.

◆ TEST_IMPL() [1/5]

TEST_IMPL ( thread_create  )

Definition at line 146 of file test-thread.c.

◆ TEST_IMPL() [2/5]

TEST_IMPL ( thread_local_storage  )

Definition at line 196 of file test-thread.c.

◆ TEST_IMPL() [3/5]

TEST_IMPL ( thread_stack_size  )

Definition at line 240 of file test-thread.c.

◆ TEST_IMPL() [4/5]

TEST_IMPL ( thread_stack_size_explicit  )

Definition at line 247 of file test-thread.c.

◆ TEST_IMPL() [5/5]

TEST_IMPL ( threadpool_multiple_event_loops  )

Definition at line 165 of file test-thread.c.

◆ thread_check_stack()

static void thread_check_stack ( void *  arg)
static

Definition at line 212 of file test-thread.c.

◆ thread_entry()

static void thread_entry ( void *  arg)
static

Definition at line 140 of file test-thread.c.

◆ tls_thread()

static void tls_thread ( void *  arg)
static

Definition at line 187 of file test-thread.c.

Variable Documentation

◆ thread_called

int thread_called
static

Definition at line 61 of file test-thread.c.

◆ tls_key

uv_key_t tls_key
static

Definition at line 62 of file test-thread.c.



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