
Go to the source code of this file.
Classes | |
| struct | write_info |
Macros | |
| #define | BUFFER_CONTENT 42 |
| #define | BUFFER_SIZE 0x2000 /* 8 kb. */ |
| #define | BUFFERS_PER_WRITE 3 |
| #define | NUM_WRITES 256 |
| #define | XFER_SIZE (NUM_WRITES * BUFFERS_PER_WRITE * BUFFER_SIZE) |
Functions | |
| static void | alloc_cb (uv_handle_t *handle, size_t suggested_size, uv_buf_t *buf) |
| static void | do_write (uv_stream_t *handle) |
| static void | do_writes_and_reads (uv_stream_t *handle) |
| int | ipc_helper_heavy_traffic_deadlock_bug (void) |
| static void | read_cb (uv_stream_t *handle, ssize_t nread, const uv_buf_t *buf) |
| static void | shutdown_cb (uv_shutdown_t *req, int status) |
| void | spawn_helper (uv_pipe_t *channel, uv_process_t *process, const char *helper) |
| TEST_IMPL (ipc_heavy_traffic_deadlock_bug) | |
| static void | write_cb (uv_write_t *req, int status) |
Variables | |
| static size_t | bytes_read |
| static size_t | bytes_written |
| static uv_shutdown_t | shutdown_req |
| #define BUFFER_CONTENT 42 |
Definition at line 35 of file test-ipc-heavy-traffic-deadlock-bug.c.
| #define BUFFER_SIZE 0x2000 /* 8 kb. */ |
Definition at line 34 of file test-ipc-heavy-traffic-deadlock-bug.c.
| #define BUFFERS_PER_WRITE 3 |
Definition at line 33 of file test-ipc-heavy-traffic-deadlock-bug.c.
| #define NUM_WRITES 256 |
Definition at line 32 of file test-ipc-heavy-traffic-deadlock-bug.c.
| #define XFER_SIZE (NUM_WRITES * BUFFERS_PER_WRITE * BUFFER_SIZE) |
Definition at line 37 of file test-ipc-heavy-traffic-deadlock-bug.c.
|
static |
Definition at line 81 of file test-ipc-heavy-traffic-deadlock-bug.c.
|
static |
Definition at line 62 of file test-ipc-heavy-traffic-deadlock-bug.c.
|
static |
Definition at line 112 of file test-ipc-heavy-traffic-deadlock-bug.c.
| int ipc_helper_heavy_traffic_deadlock_bug | ( | void | ) |
Definition at line 144 of file test-ipc-heavy-traffic-deadlock-bug.c.
|
static |
Definition at line 93 of file test-ipc-heavy-traffic-deadlock-bug.c.
|
static |
Definition at line 57 of file test-ipc-heavy-traffic-deadlock-bug.c.
| void spawn_helper | ( | uv_pipe_t * | channel, |
| uv_process_t * | process, | ||
| const char * | helper | ||
| ) |
Definition at line 291 of file test-ipc.c.
| TEST_IMPL | ( | ipc_heavy_traffic_deadlock_bug | ) |
Definition at line 133 of file test-ipc-heavy-traffic-deadlock-bug.c.
|
static |
Definition at line 49 of file test-ipc-heavy-traffic-deadlock-bug.c.
|
static |
Definition at line 47 of file test-ipc-heavy-traffic-deadlock-bug.c.
|
static |
Definition at line 46 of file test-ipc-heavy-traffic-deadlock-bug.c.
|
static |
Definition at line 44 of file test-ipc-heavy-traffic-deadlock-bug.c.