Rizin
unix-like reverse engineering framework and cli tools
loop-watcher.c File Reference
#include <assert.h>
#include "uv.h"
#include "internal.h"
#include "handle-inl.h"

Go to the source code of this file.

Macros

#define UV_LOOP_WATCHER_DEFINE(name, NAME)
 

Functions

void uv_loop_watcher_endgame (uv_loop_t *loop, uv_handle_t *handle)
 

Macro Definition Documentation

◆ UV_LOOP_WATCHER_DEFINE

#define UV_LOOP_WATCHER_DEFINE (   name,
  NAME 
)

Definition at line 38 of file loop-watcher.c.

Function Documentation

◆ uv_loop_watcher_endgame()

void uv_loop_watcher_endgame ( uv_loop_t loop,
uv_handle_t handle 
)

Definition at line 29 of file loop-watcher.c.

29  {
30  if (handle->flags & UV_HANDLE_CLOSING) {
31  assert(!(handle->flags & UV_HANDLE_CLOSED));
32  handle->flags |= UV_HANDLE_CLOSED;
34  }
35 }
static mcore_handle handle
Definition: asm_mcore.c:8
#define uv__handle_close(handle)
Definition: handle-inl.h:76
assert(limit<=UINT32_MAX/2)
@ UV_HANDLE_CLOSING
Definition: uv-common.h:74
@ UV_HANDLE_CLOSED
Definition: uv-common.h:75

References assert(), handle, uv__handle_close, UV_HANDLE_CLOSED, and UV_HANDLE_CLOSING.

Referenced by uv_process_endgames().