libuv/docs/src
Ben Noordhuis 72fe3543fe unix,win: add uv_library_shutdown()
Make it possible to explicitly tell libuv to release any resources
it's still holding onto (memory, threads, file descriptors, etc.)

Before this commit, cleanup was performed in various destructors.
This commit centralizes the cleanup logic, enabling the addition of
`uv_library_shutdown()`, but maintains the current observable behavior
of cleaning up when libuv is unloaded by means of `dlclose(3)`.

Fixes: https://github.com/libuv/libuv/issues/2763
PR-URL: https://github.com/libuv/libuv/pull/2764
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
2020-04-22 12:24:36 +02:00
..
guide docs: clarify that uv_pipe_t is a pipe 2020-01-09 10:38:02 -05:00
sphinx-plugins docs: switch from linux.die.net to man7.org 2020-01-08 11:52:02 -05:00
static doc: strip ICC profile from 2 jpg files 2020-02-07 22:08:04 +01:00
api.rst doc: move TOC to a dedicated document 2017-04-28 11:14:50 +02:00
async.rst doc: mark uv_async_send() as async-signal-safe 2019-04-23 10:46:56 +02:00
check.rst doc: add missing variable name 2015-07-10 09:22:00 +02:00
conf.py core: move all include files except uv.h to uv/ 2018-06-14 18:39:32 +02:00
design.rst docs: fix linkcheck 2020-01-08 11:51:04 -05:00
dll.rst doc: add uv_dlsym() return type 2015-09-02 09:58:55 +02:00
dns.rst doc: document uv_getnameinfo_t.{host|service} 2015-03-02 16:53:57 +01:00
errors.rst src: add new error apis to prevent memory leaks 2018-07-06 19:35:21 +02:00
fs_event.rst docs: fix linkcheck 2020-01-08 11:51:04 -05:00
fs_poll.rst docs: improve UV_ENOBUFS scenario documentation 2017-03-08 20:55:40 -05:00
fs.rst fs: add uv_fs_lutime() 2020-04-14 10:06:33 +02:00
guide.rst doc: add warning note to user guide 2017-04-28 11:15:53 +02:00
handle.rst doc: improve uv_{send,recv}_buffer_size() docs 2019-10-14 21:22:57 -04:00
idle.rst doc: add missing variable name 2015-07-10 09:22:00 +02:00
index.rst docs: fix linkcheck 2020-01-08 11:51:04 -05:00
loop.rst doc: add note about uv_run() not being reentrant 2019-03-08 08:40:06 +01:00
migration_010_100.rst doc: fix spelling 2014-11-29 04:22:56 +01:00
misc.rst unix,win: add uv_library_shutdown() 2020-04-22 12:24:36 +02:00
pipe.rst pipe: disallow listening on an IPC pipe 2020-01-31 11:09:16 +01:00
poll.rst poll: add support for OOB TCP and GPIO interrupts 2017-07-12 23:04:34 +02:00
prepare.rst
process.rst win: support more fine-grained windows hiding 2018-11-10 14:43:23 -05:00
request.rst doc: document UV_*_MAP() macros 2018-06-19 22:58:50 -04:00
signal.rst win, tty: improve SIGWINCH performance 2019-09-05 11:36:02 +02:00
stream.rst doc: clarify uv_buf_t usage in uv_alloc_cb 2019-08-23 20:27:48 +02:00
tcp.rst unix: make uv_tcp_keepalive predictable 2020-02-07 22:52:45 +01:00
threading.rst doc: fix typo in uv_thread_options_t definition 2019-03-16 11:37:00 -04:00
threadpool.rst doc: fix incorrect versionchanged 2019-06-27 13:20:14 -04:00
timer.rst doc: document uv_timer_start() on an active timer 2018-02-21 09:07:05 -05:00
tty.rst win,tty: add uv_tty_{get,set}_vterm_state 2019-10-09 09:36:36 +02:00
udp.rst udp: add flag to enable recvmmsg(2) explicitly 2020-04-19 11:40:24 -04:00
upgrading.rst doc: move "upgrading" to a standalone document 2017-04-28 11:15:04 +02:00
version.rst docs: fix linkcheck 2020-01-08 11:51:04 -05:00