summaryrefslogtreecommitdiff
path: root/deps/uv/src/win/handle.c
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2012-04-10 23:26:28 +0200
committerBen Noordhuis <info@bnoordhuis.nl>2012-04-10 23:32:47 +0200
commit0db4dc0024eaa538bf4913d6bf256a18126de2ba (patch)
tree7e8a0d5632022bed4f113d8e2aa29c13aafa3c1b /deps/uv/src/win/handle.c
parent06ada03ed93d6f81caef24c6dade6e616fd843b1 (diff)
downloadnode-new-0db4dc0024eaa538bf4913d6bf256a18126de2ba.tar.gz
deps: upgrade libuv to 3c41597
Diffstat (limited to 'deps/uv/src/win/handle.c')
-rw-r--r--deps/uv/src/win/handle.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/deps/uv/src/win/handle.c b/deps/uv/src/win/handle.c
index 2e053b00d3..d19492c0e7 100644
--- a/deps/uv/src/win/handle.c
+++ b/deps/uv/src/win/handle.c
@@ -154,6 +154,11 @@ void uv_close(uv_handle_t* handle, uv_close_cb cb) {
}
+int uv_is_closing(uv_handle_t* handle) {
+ return handle->flags & (UV_HANDLE_CLOSING | UV_HANDLE_CLOSED);
+}
+
+
void uv_want_endgame(uv_loop_t* loop, uv_handle_t* handle) {
if (!(handle->flags & UV_HANDLE_ENDGAME_QUEUED)) {
handle->flags |= UV_HANDLE_ENDGAME_QUEUED;