Rizin
unix-like reverse engineering framework and cli tools
|
#include "uv.h"
#include "internal.h"
#include "atomic-ops.h"
#include <errno.h>
#include <stdio.h>
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sched.h>
Go to the source code of this file.
Functions | |
static void | uv__async_send (uv_loop_t *loop) |
static int | uv__async_start (uv_loop_t *loop) |
int | uv_async_init (uv_loop_t *loop, uv_async_t *handle, uv_async_cb async_cb) |
int | uv_async_send (uv_async_t *handle) |
static int | uv__async_spin (uv_async_t *handle) |
void | uv__async_close (uv_async_t *handle) |
static void | uv__async_io (uv_loop_t *loop, uv__io_t *w, unsigned int events) |
int | uv__async_fork (uv_loop_t *loop) |
void | uv__async_stop (uv_loop_t *loop) |
void uv__async_close | ( | uv_async_t * | handle | ) |
Definition at line 115 of file async.c.
References handle, QUEUE_REMOVE, uv__async_spin(), and uv__handle_stop.
Referenced by uv_close().
Definition at line 230 of file async.c.
References loop, uv__async_start(), and uv__async_stop().
Referenced by uv_loop_fork().
Definition at line 122 of file async.c.
References assert(), EAGAIN, EINTR, h, loop, NULL, queue, QUEUE_DATA, QUEUE_EMPTY, QUEUE_HEAD, QUEUE_INSERT_TAIL, QUEUE_MOVE, QUEUE_REMOVE, r, read(), uv__async_spin(), and w.
Referenced by uv__async_start().
|
static |
|
static |
Definition at line 202 of file async.c.
References err, loop, uv__async_io(), UV__ERR, UV__F_NONBLOCK, uv__io_init(), uv__io_start(), and uv__make_pipe().
Referenced by uv__async_fork(), and uv_async_init().
void uv__async_stop | ( | uv_loop_t * | loop | ) |
Definition at line 240 of file async.c.
References loop, uv__close(), and uv__io_stop().
Referenced by uv__async_fork(), and uv__loop_close().
int uv_async_init | ( | uv_loop_t * | loop, |
uv_async_t * | handle, | ||
uv_async_cb | async_cb | ||
) |
int uv_async_send | ( | uv_async_t * | handle | ) |