doc: add note about handle movability
Add note that explaining pointers to handles need to remain valid during the requested operations. Refs: https://github.com/libuv/libuv/issues/1731 PR-URL: https://github.com/libuv/libuv/pull/1749 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
This commit is contained in:
parent
9d74b27ad4
commit
10fe8c8065
@ -9,6 +9,9 @@
|
||||
Structures are aligned so that any libuv handle can be cast to `uv_handle_t`.
|
||||
All API functions defined here work with any handle type.
|
||||
|
||||
Libuv handles are not movable. Pointers to handle structures passed to
|
||||
functions must remain valid for the duration of the requested operation. Take
|
||||
care when using stack allocated handles.
|
||||
|
||||
Data types
|
||||
----------
|
||||
|
||||
Loading…
Reference in New Issue
Block a user