aboutsummaryrefslogtreecommitdiff
path: root/deps/uv/docs/src
diff options
context:
space:
mode:
authorSaúl Ibarra Corretgé <saghul@gmail.com>2015-01-14 20:26:02 +0100
committerBert Belder <bertbelder@gmail.com>2015-01-14 23:52:14 +0100
commit07bd05ba332e078c1ba76635921f5448a3e884cf (patch)
tree1c4cf7ac62c5fc430c052eb8fe8c235612a56c52 /deps/uv/docs/src
parente177377a4bc0cdbaecb8b17a58e57c73b4ca0090 (diff)
downloadandroid-node-v8-07bd05ba332e078c1ba76635921f5448a3e884cf.tar.gz
android-node-v8-07bd05ba332e078c1ba76635921f5448a3e884cf.tar.bz2
android-node-v8-07bd05ba332e078c1ba76635921f5448a3e884cf.zip
deps: update libuv to 1.2.1
PR: https://github.com/iojs/io.js/pull/423 Reviewed-by: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-by: Bert Belder <bertbelder@gmail.com>
Diffstat (limited to 'deps/uv/docs/src')
-rw-r--r--deps/uv/docs/src/async.rst7
-rw-r--r--deps/uv/docs/src/pipe.rst3
-rw-r--r--deps/uv/docs/src/tcp.rst4
-rw-r--r--deps/uv/docs/src/tty.rst7
-rw-r--r--deps/uv/docs/src/udp.rst2
5 files changed, 14 insertions, 9 deletions
diff --git a/deps/uv/docs/src/async.rst b/deps/uv/docs/src/async.rst
index 7afc92a71b..5c40045824 100644
--- a/deps/uv/docs/src/async.rst
+++ b/deps/uv/docs/src/async.rst
@@ -48,9 +48,10 @@ API
.. warning::
libuv will coalesce calls to :c:func:`uv_async_send`, that is, not every call to it will
- yield an execution of the callback, the only guarantee is that it will be called at least
- once. Thus, calling this function may not wakeup the event loop if it was already called
- previously within a short period of time.
+ yield an execution of the callback. For example: if :c:func:`uv_async_send` is called 5
+ times in a row before the callback is called, the callback will only be called once. If
+ :c:func:`uv_async_send` is called again after the callback was called, it will be called
+ again.
.. seealso::
The :c:type:`uv_handle_t` API functions also apply.
diff --git a/deps/uv/docs/src/pipe.rst b/deps/uv/docs/src/pipe.rst
index 614bb2e3b1..9fbb1f6c20 100644
--- a/deps/uv/docs/src/pipe.rst
+++ b/deps/uv/docs/src/pipe.rst
@@ -38,8 +38,7 @@ API
Open an existing file descriptor or HANDLE as a pipe.
- .. note::
- The user is responsible for setting the file descriptor in non-blocking mode.
+ .. versionchanged:: 1.2.1 the file descriptor is set to non-blocking mode.
.. c:function:: int uv_pipe_bind(uv_pipe_t* handle, const char* name)
diff --git a/deps/uv/docs/src/tcp.rst b/deps/uv/docs/src/tcp.rst
index 2c1001b531..8baedde86c 100644
--- a/deps/uv/docs/src/tcp.rst
+++ b/deps/uv/docs/src/tcp.rst
@@ -36,9 +36,7 @@ API
Open an existing file descriptor or SOCKET as a TCP handle.
- .. note::
- The user is responsible for setting the file descriptor in
- non-blocking mode.
+ .. versionchanged:: 1.2.1 the file descriptor is set to non-blocking mode.
.. c:function:: int uv_tcp_nodelay(uv_tcp_t* handle, int enable)
diff --git a/deps/uv/docs/src/tty.rst b/deps/uv/docs/src/tty.rst
index 74b485941c..6c20c84bf7 100644
--- a/deps/uv/docs/src/tty.rst
+++ b/deps/uv/docs/src/tty.rst
@@ -58,8 +58,13 @@ API
`readable`, specifies if you plan on calling :c:func:`uv_read_start` with
this stream. stdin is readable, stdout is not.
+ On Unix this function will try to open ``/dev/tty`` and use it if the passed file
+ descriptor refers to a TTY. This lets libuv put the tty in non-blocking mode
+ without affecting other processes that share the tty.
+
.. note::
- TTY streams which are not readable have blocking writes.
+ If opening ``/dev/tty`` fails, libuv falls back to blocking writes for non-readable
+ TTY streams.
.. c:function:: int uv_tty_set_mode(uv_tty_t*, uv_tty_mode_t mode)
diff --git a/deps/uv/docs/src/udp.rst b/deps/uv/docs/src/udp.rst
index 175ce07a2d..9c4aa2102b 100644
--- a/deps/uv/docs/src/udp.rst
+++ b/deps/uv/docs/src/udp.rst
@@ -120,6 +120,8 @@ API
In other words, other datagram-type sockets like raw sockets or netlink
sockets can also be passed to this function.
+ .. versionchanged:: 1.2.1 the file descriptor is set to non-blocking mode.
+
.. c:function:: int uv_udp_bind(uv_udp_t* handle, const struct sockaddr* addr, unsigned int flags)
Bind the UDP handle to an IP address and port.