#include "uv.h"
#include "task.h"
Go to the source code of this file.
|
static void | done2_cb (uv_work_t *req, int status) |
|
static void | done_cb (uv_work_t *req, int status) |
|
static void | fs_cb (uv_fs_t *req) |
|
static void | getaddrinfo_cb (uv_getaddrinfo_t *req, int status, struct addrinfo *res) |
|
static void | getnameinfo_cb (uv_getnameinfo_t *handle, int status, const char *hostname, const char *service) |
|
static void | nop_done_cb (uv_work_t *req, int status) |
|
static void | nop_random_cb (uv_random_t *req, int status, void *buf, size_t len) |
|
static void | saturate_threadpool (void) |
|
| TEST_IMPL (threadpool_cancel_fs) |
|
| TEST_IMPL (threadpool_cancel_getaddrinfo) |
|
| TEST_IMPL (threadpool_cancel_getnameinfo) |
|
| TEST_IMPL (threadpool_cancel_random) |
|
| TEST_IMPL (threadpool_cancel_single) |
|
| TEST_IMPL (threadpool_cancel_work) |
|
static void | timer_cb (uv_timer_t *handle) |
|
static void | unblock_threadpool (void) |
|
static void | work2_cb (uv_work_t *req) |
|
static void | work_cb (uv_work_t *req) |
|
◆ INIT_CANCEL_INFO
#define INIT_CANCEL_INFO |
( |
|
ci, |
|
|
|
what |
|
) |
| |
◆ done2_cb()
◆ done_cb()
◆ fs_cb()
◆ getaddrinfo_cb()
◆ getnameinfo_cb()
◆ nop_done_cb()
◆ nop_random_cb()
static void nop_random_cb |
( |
uv_random_t * |
req, |
|
|
int |
status, |
|
|
void * |
buf, |
|
|
size_t |
len |
|
) |
| |
|
static |
◆ saturate_threadpool()
static void saturate_threadpool |
( |
void |
| ) |
|
|
static |
◆ TEST_IMPL() [1/6]
TEST_IMPL |
( |
threadpool_cancel_fs |
| ) |
|
◆ TEST_IMPL() [2/6]
TEST_IMPL |
( |
threadpool_cancel_getaddrinfo |
| ) |
|
◆ TEST_IMPL() [3/6]
TEST_IMPL |
( |
threadpool_cancel_getnameinfo |
| ) |
|
◆ TEST_IMPL() [4/6]
TEST_IMPL |
( |
threadpool_cancel_random |
| ) |
|
◆ TEST_IMPL() [5/6]
TEST_IMPL |
( |
threadpool_cancel_single |
| ) |
|
◆ TEST_IMPL() [6/6]
TEST_IMPL |
( |
threadpool_cancel_work |
| ) |
|
◆ timer_cb()
◆ unblock_threadpool()
static void unblock_threadpool |
( |
void |
| ) |
|
|
static |
◆ work2_cb()
◆ work_cb()
◆ done2_cb_called
◆ done_cb_called
◆ fs_cb_called
◆ pause_reqs
◆ pause_sems
◆ timer_cb_called