aboutsummaryrefslogtreecommitdiff
path: root/docs/src
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2015-02-14 22:19:19 +0100
committerBen Noordhuis <info@bnoordhuis.nl>2015-02-17 22:25:01 +0100
commitff0316813d38253780337178386053cf6c3357f0 (patch)
tree750502d56362fa0f1166a080809da36cf5d0ac63 /docs/src
parent3ddfb4a9cc73fc9fc11576a83da9449630f6f634 (diff)
downloadlibuv-ff0316813d38253780337178386053cf6c3357f0.tar.gz
libuv-ff0316813d38253780337178386053cf6c3357f0.zip
unix,windows: make uv_thread_create() return errno
Before this commit, UNIX returned -1 on failure. Windows sometimes returned a UV_E* error code and sometimes a bogus status code, courtesy of errno values not mapping to UV_E* error codes on that platform. PR-URL: https://github.com/libuv/libuv/pull/204 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
Diffstat (limited to 'docs/src')
-rw-r--r--docs/src/threading.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/src/threading.rst b/docs/src/threading.rst
index aab13f84..494202b5 100644
--- a/docs/src/threading.rst
+++ b/docs/src/threading.rst
@@ -56,6 +56,9 @@ Threads
^^^^^^^
.. c:function:: int uv_thread_create(uv_thread_t* tid, uv_thread_cb entry, void* arg)
+
+ .. versionchanged:: 1.5.0 returns a UV_E* error code on failure
+
.. c:function:: uv_thread_t uv_thread_self(void)
.. c:function:: int uv_thread_join(uv_thread_t *tid)
.. c:function:: int uv_thread_equal(const uv_thread_t* t1, const uv_thread_t* t2)