Skip to content

Instantly share code, notes, and snippets.

@rhizoome
Created March 27, 2016 19:33
Show Gist options
  • Save rhizoome/53100f053933a7a53aad to your computer and use it in GitHub Desktop.
Save rhizoome/53100f053933a7a53aad to your computer and use it in GitHub Desktop.
Solution libuv WTF
//uv.h
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;
...;
};
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