#
1790abb3 |
| 15-Aug-2024 |
握猫猫 <164346864@qq.com> |
doc: document uv_loop_option
|
#
541329d5 |
| 27-May-2024 |
Juan José Arboleda |
doc: add entries for extended getpw This patch adds documentation for the introduced `uv_os_get_passwd2`, `uv_os_get_group`, `uv_os_free_group` methods in https://github.com/libuv/li
doc: add entries for extended getpw This patch adds documentation for the introduced `uv_os_get_passwd2`, `uv_os_get_group`, `uv_os_free_group` methods in https://github.com/libuv/libuv/pull/3523 Fixes: https://github.com/libuv/libuv/issues/4007 Signed-off-by: Juan José Arboleda <soyjuanarbol@gmail.com>
show more ...
|
#
f3889085 |
| 29-Oct-2023 |
Jameson Nash |
misc: export WTF8 conversion utilities (#4021) As promised in #2970, this attempts to migrate code to a common set of utilities in a common place in the code and use them everywhere. Thi
misc: export WTF8 conversion utilities (#4021) As promised in #2970, this attempts to migrate code to a common set of utilities in a common place in the code and use them everywhere. This also exports the functionality, since the Windows API with WideCharToMultiByte is fairly verbose relative to what libuv and libuv's clients typically need, so it is useful not to require clients to reimplement this conversion logic unnecessarily (and because Windows is not 64-bit ready here, but this implementation is.)
show more ...
|
#
6ad347fa |
| 12-May-2023 |
Tim Besard |
unix: constrained_memory should return UINT64_MAX (#3753) Document that we return UINT64_MAX if the cgroup limit is set to the max. For cgroupv2, that happens if we encounter `max`, whil
unix: constrained_memory should return UINT64_MAX (#3753) Document that we return UINT64_MAX if the cgroup limit is set to the max. For cgroupv2, that happens if we encounter `max`, while cgroupv1 returns 9223372036854771712 when no limit is set (which according to [this StackExchange discussion] is derived from LONG_MAX and PAGE_SIZE). So make sure we also detect this case for cgroupv1. [this StackExchange discussion]: https://unix.stackexchange.com/questions/420906/what-is-the-value-for-the-cgroups-limit-in-bytes-if-the-memory-is-not-restricte Addresses: https://github.com/libuv/libuv/pull/3744/files#r974062912
show more ...
|
#
c8a1e613 |
| 27-Apr-2023 |
Ben Noordhuis |
unix,win: add uv_clock_gettime() (#3971) Fixes: https://github.com/libuv/libuv/issues/1674
|
#
e189c313 |
| 11-Apr-2023 |
Jason Zhang |
doc: consistent single backquote in misc.rst (#3946) Fixes: https://github.com/libuv/libuv/issues/3928
|
#
988d225c |
| 24-Nov-2022 |
Tim Besard |
unix,win: add uv_get_available_memory() (#3754)
|
#
8975c05d |
| 08-Nov-2022 |
Ben Noordhuis |
doc: document 0 return value for free/total memory (#3817) Refs: https://github.com/libuv/libuv/discussions/3809
|
#
e9000066 |
| 21-Oct-2022 |
daomingq |
thread: add support for affinity (#3774) Backported thread affinity feature and related dependency commits from master. It will add support for those APIs: uv_cpumask_size, uv_thread
thread: add support for affinity (#3774) Backported thread affinity feature and related dependency commits from master. It will add support for those APIs: uv_cpumask_size, uv_thread_setaffinity, uv_thread_getaffinity. The supported platforms are Linux, Freebsd, and Windows. Empty implementations (returning UV_ENOTSUP) on non-supported platforms (such as OS X and AIX).
show more ...
|
#
fb76f210 |
| 21-Aug-2022 |
Ben Noordhuis |
unix: fix uv_getrusage() ru_maxrss reporting (#3721) Most platforms report it in kilobytes but macOS and Solaris report it in bytes and pages respectively. Fixes: https://github
unix: fix uv_getrusage() ru_maxrss reporting (#3721) Most platforms report it in kilobytes but macOS and Solaris report it in bytes and pages respectively. Fixes: https://github.com/nodejs/node/issues/44332
show more ...
|
#
f250c6c7 |
| 04-Mar-2022 |
Ben Noordhuis |
unix,win: add uv_available_parallelism() (#3499) Replacement for the usage pattern where people use uv_cpu_info() as an imperfect heuristic for determining the amount of parallelism that
unix,win: add uv_available_parallelism() (#3499) Replacement for the usage pattern where people use uv_cpu_info() as an imperfect heuristic for determining the amount of parallelism that is available to their programs. Fixes #3493.
show more ...
|
#
50c1d008 |
| 08-Feb-2022 |
Luca Adrian L |
win: return fractional seconds in uv_uptime() (#3455) Some systems return fractional seconds, some return full seconds. On Windows uptime was artificially rounded down. Fixes #3
win: return fractional seconds in uv_uptime() (#3455) Some systems return fractional seconds, some return full seconds. On Windows uptime was artificially rounded down. Fixes #3447.
show more ...
|
#
c7843ecf |
| 25-Nov-2021 |
Campbell He |
unix,win: add uv_ip_name to get name from sockaddr (#3368) uv_ip_name is a kind of wrapper of uv_ip4_name and uv_ip6_name which can be used after getaddrinfo to get the IP name directly
unix,win: add uv_ip_name to get name from sockaddr (#3368) uv_ip_name is a kind of wrapper of uv_ip4_name and uv_ip6_name which can be used after getaddrinfo to get the IP name directly from addrinfo.ai_addr.
show more ...
|
#
68355e7d |
| 05-Oct-2021 |
YAKSH BARIYA |
doc: fix broken links for netbsd's sysctl manpage (#3312)
|
Revision tags: v1.41.0 |
|
#
bd4a357b |
| 09-Dec-2020 |
Shuowang (Wayne) Zhang |
zos: implement uv_get_constrained_memory() Implementation is based on RLIMIT_MEMLIMIT. Co-authored-by: Igor Todorovski <itodorov@ca.ibm.com> PR-URL: https://github.com/libuv/lib
zos: implement uv_get_constrained_memory() Implementation is based on RLIMIT_MEMLIMIT. Co-authored-by: Igor Todorovski <itodorov@ca.ibm.com> PR-URL: https://github.com/libuv/libuv/pull/3133 Reviewed-By: Richard Lau <rlau@redhat.com>
show more ...
|
Revision tags: v1.40.0, v1.39.0, v1.38.1, v1.38.0, v1.37.0, v1.36.0, v1.35.0 |
|
#
ea92e9c7 |
| 07-Feb-2020 |
Richard Lau |
aix: protect uv_exepath() from uv_set_process_title() Store a copy of the original argv[0] to protect `uv_exepath()` against `uv_set_process_title()` changing the value of argv[0].
aix: protect uv_exepath() from uv_set_process_title() Store a copy of the original argv[0] to protect `uv_exepath()` against `uv_set_process_title()` changing the value of argv[0]. Extract common code for finding a program on the current PATH. Fixes: https://github.com/libuv/libuv/issues/2674 PR-URL: https://github.com/libuv/libuv/pull/2677 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Jameson Nash <vtjnash@gmail.com>
show more ...
|
#
07e4168b |
| 16-May-2020 |
Ryan Liptak |
unix: error when uv_setup_args() is not called This commit updates uv_{get,set}_process_title() to return an error when uv_setup_args() is needed, but has not been called. Per-p
unix: error when uv_setup_args() is not called This commit updates uv_{get,set}_process_title() to return an error when uv_setup_args() is needed, but has not been called. Per-platform behavior after this commit: - Windows: uv_setup_args() does nothing, get/set process title works as before. - Unix: get/set process title will return ENOBUFS if uv_setup_args() wasn't called, if it failed, or if the process title memory has been freed by uv__process_title_cleanup() (via uv_library_shutdown()). - AIX: set process title returns ENOBUFS if uv_setup_args() wasn't called, if it failed to allocate memory for the argv copy, or if the proctitle memory has been freed by uv__process_title_cleanup() (via uv_library_shutdown). Getting the process title will do the same except it can still succeed if uv_setup_args() was called but failed to allocate memory for the argv copy. - BSD: uv_setup_args() is only needed for getting the initial process title; if uv_setup_args() is not called then any get_process_title calls() before a set_process_title() call will return an empty string. - Platforms that use no-proctitle.c: get will return an empty string, set is a no-op (these are the same as before this commit) Fixes: https://github.com/libuv/libuv/issues/2845 PR-URL: https://github.com/libuv/libuv/pull/2853 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Jameson Nash <vtjnash@gmail.com>
show more ...
|
#
f7d16247 |
| 28-Jul-2020 |
Juan Sebastian velez Posada |
docs: improve the descriptions for get memory info PR-URL: https://github.com/libuv/libuv/pull/2780 Reviewed-By: Jameson Nash <vtjnash@gmail.com> |
#
7ccea60b |
| 07-May-2020 |
Ben Noordhuis |
doc: fix formatting Fixes: https://github.com/libuv/libuv/issues/2831 PR-URL: https://github.com/libuv/libuv/pull/2833 Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com> R
doc: fix formatting Fixes: https://github.com/libuv/libuv/issues/2831 PR-URL: https://github.com/libuv/libuv/pull/2833 Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
#
06b2f13b |
| 28-Apr-2020 |
twosee |
doc: add uv_replace_allocator thread safety warning PR-URL: https://github.com/libuv/libuv/pull/2815/ Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ben Noordhuis <inf
doc: add uv_replace_allocator thread safety warning PR-URL: https://github.com/libuv/libuv/pull/2815/ Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
show more ...
|
#
002fe6e5 |
| 22-Apr-2020 |
Philip Chimento |
doc: fix unescaped character This was causing a warning during the documentation build. PR-URL: https://github.com/libuv/libuv/pull/2797 Reviewed-By: Ben Noordhuis <info@bnoordh
doc: fix unescaped character This was causing a warning during the documentation build. PR-URL: https://github.com/libuv/libuv/pull/2797 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
#
72fe3543 |
| 22-Apr-2020 |
Ben Noordhuis |
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 t
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>
show more ...
|
#
37a8affb |
| 22-Apr-2020 |
James Ross |
linux: make cpu_times consistently be milliseconds On Linux, cpu_times have been calculated differently to all other platforms for a while. Other platforms (FreeBSD, Mac, Windows) are al
linux: make cpu_times consistently be milliseconds On Linux, cpu_times have been calculated differently to all other platforms for a while. Other platforms (FreeBSD, Mac, Windows) are all in milliseconds, but Linux has been returning values ten times larger. libuv has not previously documented what unit cpu_times uses, even though NodeJS did - as milliseconds. Here we're both documenting that the cpu_times are indeed in milliseconds, and fixing the inconsistency on Linux. Fixes: https://github.com/libuv/libuv/issues/2773 PR-URL: https://github.com/libuv/libuv/pull/2796 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
show more ...
|
Revision tags: v1.34.2 |
|
#
d21f5aea |
| 20-Jan-2020 |
Xu Meng |
ibmi: set the highest process priority to -10 On IBMi PASE, the highest process priority is -10. PR-URL: https://github.com/libuv/libuv/pull/2642 Reviewed-By: Ben Noordhuis <inf
ibmi: set the highest process priority to -10 On IBMi PASE, the highest process priority is -10. PR-URL: https://github.com/libuv/libuv/pull/2642 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
#
fb4c5631 |
| 08-Feb-2020 |
Ben Noordhuis |
docs: uv_setup_args() may take ownership of argv PR-URL: https://github.com/libuv/libuv/pull/2668 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm
docs: uv_setup_args() may take ownership of argv PR-URL: https://github.com/libuv/libuv/pull/2668 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|