joyent/libuv — pull request #813 by sam-github (2013-05-29 01:24:14+00:00)
Title: unix, windows: add uv_loop_alive() function

Useful to know when the the event loop is empty, this can't be done with
uv_run() without possibly blocking, or running some events (which might
empty the event loop as a side-effect).