Rizin
unix-like reverse engineering framework and cli tools
|
#include <assert.h>
#include "uv.h"
#include "internal.h"
#include "atomicops-inl.h"
#include "handle-inl.h"
#include "req-inl.h"
Go to the source code of this file.
Functions | |
void | uv_async_endgame (uv_loop_t *loop, uv_async_t *handle) |
int | uv_async_init (uv_loop_t *loop, uv_async_t *handle, uv_async_cb async_cb) |
void | uv_async_close (uv_loop_t *loop, uv_async_t *handle) |
int | uv_async_send (uv_async_t *handle) |
void | uv_process_async_wakeup_req (uv_loop_t *loop, uv_async_t *handle, uv_req_t *req) |
void uv_async_close | ( | uv_loop_t * | loop, |
uv_async_t * | handle | ||
) |
Definition at line 57 of file async.c.
References handle, loop, uv__handle_closing, and uv_want_endgame().
Referenced by uv_close().
void uv_async_endgame | ( | uv_loop_t * | loop, |
uv_async_t * | handle | ||
) |
Definition at line 31 of file async.c.
References assert(), handle, uv__handle_close, UV_HANDLE_CLOSED, and UV_HANDLE_CLOSING.
Referenced by uv_process_endgames().
int uv_async_init | ( | uv_loop_t * | loop, |
uv_async_t * | handle, | ||
uv_async_cb | async_cb | ||
) |
Definition at line 40 of file async.c.
References err, handle, loop, QUEUE_INSERT_TAIL, req, uv__async_start(), uv__handle_init, uv__handle_start, and UV_REQ_INIT.
Referenced by main(), and uv_loop_init().
int uv_async_send | ( | uv_async_t * | handle | ) |
Definition at line 66 of file async.c.
References ACCESS_ONCE, assert(), handle, loop, POST_COMPLETION_FOR_REQ, uv__async_send(), uv__atomic_exchange_set(), and UV_HANDLE_CLOSING.
Referenced by fake_download(), uv__work_cancel(), and worker().
void uv_process_async_wakeup_req | ( | uv_loop_t * | loop, |
uv_async_t * | handle, | ||
uv_req_t * | req | ||
) |
Definition at line 86 of file async.c.
References assert(), handle, loop, NULL, req, UV_HANDLE_CLOSING, and uv_want_endgame().
Referenced by uv_process_reqs().