#include "uv-common.h"
#include "unix/internal.h"
#include <stdlib.h>
Go to the source code of this file.
|
static void | init_once (void) |
|
static void | init_threads (void) |
|
static void | post (QUEUE *q, enum uv__work_kind kind) |
|
static void | reset_once (void) |
|
static unsigned int | slow_work_thread_threshold (void) |
|
static void | uv__cancelled (struct uv__work *w) |
|
static void | uv__queue_done (struct uv__work *w, int err) |
|
static void | uv__queue_work (struct uv__work *w) |
|
static int | uv__work_cancel (uv_loop_t *loop, uv_req_t *req, struct uv__work *w) |
|
void | uv__work_done (uv_async_t *handle) |
|
void | uv__work_submit (uv_loop_t *loop, struct uv__work *w, enum uv__work_kind kind, void(*work)(struct uv__work *w), void(*done)(struct uv__work *w, int status)) |
|
int | uv_cancel (uv_req_t *req) |
|
| UV_DESTRUCTOR (static void cleanup(void)) |
|
int | uv_queue_work (uv_loop_t *loop, uv_work_t *req, uv_work_cb work_cb, uv_after_work_cb after_work_cb) |
|
static void | worker (void *arg) |
|
◆ MAX_THREADPOOL_SIZE
#define MAX_THREADPOOL_SIZE 1024 |
◆ init_once()
static void init_once |
( |
void |
| ) |
|
|
static |
◆ init_threads()
static void init_threads |
( |
void |
| ) |
|
|
static |
◆ post()
◆ reset_once()
static void reset_once |
( |
void |
| ) |
|
|
static |
◆ slow_work_thread_threshold()
static unsigned int slow_work_thread_threshold |
( |
void |
| ) |
|
|
static |
◆ uv__cancelled()
static void uv__cancelled |
( |
struct uv__work * |
w | ) |
|
|
static |
◆ uv__queue_done()
static void uv__queue_done |
( |
struct uv__work * |
w, |
|
|
int |
err |
|
) |
| |
|
static |
◆ uv__queue_work()
static void uv__queue_work |
( |
struct uv__work * |
w | ) |
|
|
static |
◆ uv__work_cancel()
◆ uv__work_done()
◆ uv__work_submit()
◆ uv_cancel()
◆ UV_DESTRUCTOR()
UV_DESTRUCTOR |
( |
static void |
cleanupvoid | ) |
|
◆ uv_queue_work()
◆ worker()
static void worker |
( |
void * |
arg | ) |
|
|
static |
◆ cond
◆ default_threads
◆ exit_message
◆ idle_threads
unsigned int idle_threads |
|
static |
◆ mutex
◆ nthreads
◆ once
◆ run_slow_work_message
QUEUE run_slow_work_message |
|
static |
◆ slow_io_pending_wq
◆ slow_io_work_running
unsigned int slow_io_work_running |
|
static |
◆ threads
◆ wq