Skip to content

Instantly share code, notes, and snippets.

@rhizoome
Last active March 27, 2016 16:04
Show Gist options
  • Save rhizoome/18634e1e00c51440c57a to your computer and use it in GitHub Desktop.
Save rhizoome/18634e1e00c51440c57a to your computer and use it in GitHub Desktop.
Libuv WTF
struct uv_loop_s {
/* User data - use this for whatever. */
void* data;
/* Loop reference counting. */
unsigned int active_handles;
void* handle_queue[2];
void* active_reqs[2];
/* Internal flag to signal loop stop. */
unsigned int stop_flag;
UV_LOOP_PRIVATE_FIELDS
};
typedef struct uv_loop_s uv_loop_t;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment