feat: upgrade libuv from 1.34.2 to 1.38.0 with new API and platform fixes

Add uv_library_shutdown() and uv__threadpool_cleanup() functions, introduce
UV_UDP_MMSG_CHUNK and UV_UDP_RECVMMSG flags, document cpu_times fields in
milliseconds, adjust priority constants for IBM i PASE, widen ansi_parser_state
to unsigned short on Windows, refactor async spin loop with sched_yield() and
eventfd support on Linux, add ARM yield in cpu_relax(), implement
uv__process_title_cleanup() on BSD and Darwin, replace CoreFoundation
dependency with darwin-stub.h, and fix accept4 detection for FreeBSD ≥10.
This commit is contained in:
Dario Vladović
2020-06-06 20:05:48 +00:00
parent 5b320526e6
commit c02b22cf18
54 changed files with 1793 additions and 1288 deletions
+3 -3
View File
@@ -26,13 +26,13 @@
* Versions with the same major number are ABI stable. API is allowed to
* evolve between minor releases, but only in a backwards compatible way.
* Make sure you update the -soname directives in configure.ac
* and uv.gyp whenever you bump UV_VERSION_MAJOR or UV_VERSION_MINOR (but
* whenever you bump UV_VERSION_MAJOR or UV_VERSION_MINOR (but
* not UV_VERSION_PATCH.)
*/
#define UV_VERSION_MAJOR 1
#define UV_VERSION_MINOR 34
#define UV_VERSION_PATCH 2
#define UV_VERSION_MINOR 38
#define UV_VERSION_PATCH 0
#define UV_VERSION_IS_RELEASE 1
#define UV_VERSION_SUFFIX ""
+1 -1
View File
@@ -517,7 +517,7 @@ typedef struct {
/* eol conversion state */ \
unsigned char previous_eol; \
/* ansi parser state */ \
unsigned char ansi_parser_state; \
unsigned short ansi_parser_state; \
unsigned char ansi_csi_argc; \
unsigned short ansi_csi_argv[4]; \
COORD saved_position; \