diff options
author | Leo Chung <gewalalb@gmail.com> | 2019-06-19 12:46:55 +0800 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2019-06-25 08:57:42 +0200 |
commit | 5fc58eb3d5dd9b683719d2e96c606d4e6e5b555c (patch) | |
tree | d44b4dee2030fcf58175cdc9de4e8ba024aaf40a /docs/src | |
parent | 69c78f9ff704c64c3bd696ffc3a06fdbface63bc (diff) | |
download | libuv-5fc58eb3d5dd9b683719d2e96c606d4e6e5b555c.tar.gz libuv-5fc58eb3d5dd9b683719d2e96c606d4e6e5b555c.zip |
doc: fix wrong mutex function prototypes
The `:lines:` numbers were wrong, they showed the signatures of the
uv_fs_access and uv_fs_chmod functions.
Diffstat (limited to 'docs/src')
-rw-r--r-- | docs/src/guide/threads.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/src/guide/threads.rst b/docs/src/guide/threads.rst index b6a4fd85..960210db 100644 --- a/docs/src/guide/threads.rst +++ b/docs/src/guide/threads.rst @@ -77,7 +77,7 @@ The mutex functions are a **direct** map to the pthread equivalents. .. rubric:: libuv mutex functions .. literalinclude:: ../../../include/uv.h - :lines: 1355-1360 + :lines: 1575-1580 The ``uv_mutex_init()``, ``uv_mutex_init_recursive()`` and ``uv_mutex_trylock()`` functions will return 0 on success, and an error code otherwise. |