Permalink
Browse files

include: update uv_signal_t doc comments

Fixes #668.
  • Loading branch information...
1 parent 495ac83 commit 3164f1ea69277ff42d959c9f3554406160db2976 @bnoordhuis bnoordhuis committed Dec 25, 2012
Showing with 2 additions and 4 deletions.
  1. +2 −4 include/uv.h
View
@@ -1666,9 +1666,6 @@ UV_EXTERN int uv_fs_poll_stop(uv_fs_poll_t* handle);
* ultra efficient so don't go creating a million event loops with a million
* signal watchers.
*
- * TODO(bnoordhuis) As of 2012-08-10 only the default event loop supports
- * signals. That will be fixed.
- *
* Some signal support is available on Windows:
*
* SIGINT is normally delivered when the user presses CTRL+C. However, like
@@ -1701,11 +1698,12 @@ struct uv_signal_s {
UV_SIGNAL_PRIVATE_FIELDS
};
-/* These functions are no-ops on Windows. */
UV_EXTERN int uv_signal_init(uv_loop_t* loop, uv_signal_t* handle);
+
UV_EXTERN int uv_signal_start(uv_signal_t* handle,
uv_signal_cb signal_cb,
int signum);
+
UV_EXTERN int uv_signal_stop(uv_signal_t* handle);

0 comments on commit 3164f1e

Please sign in to comment.