History log of /libuv/ (Results 176 – 200 of 5326)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
748d894e12-May-2023 Elliot Saba

win,process: write minidumps when sending SIGQUIT (#3840)

This commit adds the ability to dump core when sending the `SIGQUIT`
signal on Windows. The change reads in the current registry

win,process: write minidumps when sending SIGQUIT (#3840)

This commit adds the ability to dump core when sending the `SIGQUIT`
signal on Windows. The change reads in the current registry setting for
local dumps, and attempts to write out to that location before killing
the process. See [collecting-user-mode-dumps] for registry and pathing
details. This behavior mimics that of the dumps created by the typical
Windows Error Reporting mechanism.

[collecting-user-mode-dumps]: https://learn.microsoft.com/en-us/windows/win32/wer/collecting-user-mode-dumps

show more ...

f70027cb12-May-2023 Lewis Russell

build: export compile_commands.json (#3968)

Allows LSP's like clangd to work.

8a5b095512-May-2023 Mohammed Keyvanzadeh

test: add additional assert (#3983)

Add a missing assert that checks whether `uv_pipe_init()`
succeeded or not.

ff7dcd2612-May-2023 Ben Noordhuis

unix: use memcpy() instead of type punning (#3990)

Libuv makes no claim to being strict aliasing-clean but type punning
makes me feel unclean so replace it with memcpy().

3990fcad12-May-2023 cui fliter

docs: fix some typos (#3984)

15e8138610-May-2023 Santiago Gimeno

macos: revert clonefile (#3987)

* Revert "macos: fix source not being followed when cloning (#3941)"

This reverts commit 507f2f950d5da7ab1586a46e81fc83dae10c0138.

* Revert

macos: revert clonefile (#3987)

* Revert "macos: fix source not being followed when cloning (#3941)"

This reverts commit 507f2f950d5da7ab1586a46e81fc83dae10c0138.

* Revert "darwin: bring back macos-specific copyfile(3) (#3654)"

This reverts commit d4eb276eea7cb19a888fe97d7759d97c7092ad02.

show more ...

3f331e9702-May-2023 Santiago Gimeno

macos: update minimum supported version (#3982)

Only support the versions still maintained by Apple.

6e073ef501-May-2023 Ben Noordhuis

linux: use io_uring to batch epoll_ctl calls (#3979)

This work was sponsored by ISC, the Internet Systems Consortium.

f272082201-May-2023 Ben Noordhuis

linux: fix logic bug in sqe ring space check (#3980)

Handle wraparound properly, otherwise we may end up overwriting elements
that have not been consumed by the kernel yet.

c51522c029-Apr-2023 sivadeilra

win: fix race condition in uv__init_console() (#3973)

Co-authored-by: Arlie Davis <ardavis@microsoft.com>
Fixes: https://github.com/libuv/libuv/issues/3970

932092e927-Apr-2023 Ben Noordhuis

build: remove freebsd and openbsd buildbots (#3974)

The buildbots are super flaky compared to other platforms and no one
seems invested enough to investigate. They don't add nearly enoug

build: remove freebsd and openbsd buildbots (#3974)

The buildbots are super flaky compared to other platforms and no one
seems invested enough to investigate. They don't add nearly enough value
for the friction they cause so away they go.

Fixes: https://github.com/libuv/libuv/issues/3934
Fixes: https://github.com/libuv/libuv/issues/3972
Refs: https://github.com/libuv/libuv/pull/3548

show more ...

c8a1e61327-Apr-2023 Ben Noordhuis

unix,win: add uv_clock_gettime() (#3971)

Fixes: https://github.com/libuv/libuv/issues/1674

e02642cf17-Apr-2023 Trevor Norris

src: fix events/events_waiting metrics counter (#3957)

The worker pool calls all callbacks locally within the queue. So the
value of nevents doesn't properly reflect that case. Increase

src: fix events/events_waiting metrics counter (#3957)

The worker pool calls all callbacks locally within the queue. So the
value of nevents doesn't properly reflect that case. Increase the number
of events directly from the worker pool's callback to correct this.

In order to properly determine if the events_waiting counter needs to be
incremented, store the timeout value at the time the event provider was
called.

show more ...

b60f08e712-Apr-2023 Trevor Norris

test: add ASSERT_OK (#3957)

The majority of uses for ASSERT_EQ are to check if the return value is
0. So make a macro specifically for this and make things easier to read.

4fc331f823-Apr-2023 Ben Noordhuis

doc: update active maintainers list (#3967)

Move Bert and Fedor to emeriti.

507f2f9523-Apr-2023 Lewis Russell

macos: fix source not being followed when cloning (#3941)

Fixes: https://github.com/libuv/libuv/issues/3940

1c935a3420-Apr-2023 Ben Noordhuis

linux: remove bug workaround for obsolete kernels (#3965)

Libuv no longer supports such kernels so the workaround can be removed.

dfae365f20-Apr-2023 Ben Noordhuis

linux: add IORING_OP_CLOSE support (#3964)

5ca5e47520-Apr-2023 Ben Noordhuis

linux: add IORING_OP_OPENAT support (#3963)

3ba75f1319-Apr-2023 Ben Noordhuis

test: disable signal test under ASan and MSan (#3961)

The signal_multiple_loops test is flaky when run under AddressSanitizer
and MemorySanitizer. Sometimes thread creation fails, other

test: disable signal test under ASan and MSan (#3961)

The signal_multiple_loops test is flaky when run under AddressSanitizer
and MemorySanitizer. Sometimes thread creation fails, other times it
simply times out.

Fixes: https://github.com/libuv/libuv/issues/3956

show more ...

a7ff759c19-Apr-2023 Ben Noordhuis

linux: fix academic valgrind warning (#3960)

Fix a valgrind warning that only manifested with clang (not gcc!) by
explicitly passing 0L instead of plain 0 as the |sigsz| argument to

linux: fix academic valgrind warning (#3960)

Fix a valgrind warning that only manifested with clang (not gcc!) by
explicitly passing 0L instead of plain 0 as the |sigsz| argument to
io_uring_enter(). That is, pass a long instead of an int.

On x86_64, |sigsz| is passed on the stack (the other arguments are
passed in registers) but where gcc emits a `push $0` that zeroes the
entire stack slot, clang emits a `movl $0,(%rsp)` that leaves the upper
32 bits untouched.

It's academic though since we don't pass IORING_ENTER_EXT_ARG and the
kernel therefore completely ignores the argument.

Refs: https://github.com/libuv/libuv/pull/3952

show more ...

d2c31f4218-Apr-2023 Ben Noordhuis

linux: introduce io_uring support (#3952)

Add io_uring support for several asynchronous file operations:

- read, write
- fsync, fdatasync
- stat, fstat, lstat

io_ur

linux: introduce io_uring support (#3952)

Add io_uring support for several asynchronous file operations:

- read, write
- fsync, fdatasync
- stat, fstat, lstat

io_uring is used when the kernel is new enough, otherwise libuv simply
falls back to the thread pool.

Performance looks great; an 8x increase in throughput has been observed.

This work was sponsored by ISC, the Internet Systems Consortium.

Fixes: https://github.com/libuv/libuv/issues/1947

show more ...

cb5da59214-Apr-2023 Ben Noordhuis

test: don't use static buffer for formatting (#3953)

Don't use a static buffer to hold human-readable "big" numbers.

The buffer isn't big enough for benchmarks like fs_stat that pri

test: don't use static buffer for formatting (#3953)

Don't use a static buffer to hold human-readable "big" numbers.

The buffer isn't big enough for benchmarks like fs_stat that print a
large number of them. Have the caller pass in a buffer instead.

show more ...

2f33980a12-Apr-2023 Trevor Norris

src: switch to use C11 atomics where available (#3950)

Switch all code in unix/ to use C11 atomics directly.

Change uv_library_shutdown() to use an exchange instead of load/store.

src: switch to use C11 atomics where available (#3950)

Switch all code in unix/ to use C11 atomics directly.

Change uv_library_shutdown() to use an exchange instead of load/store.

Unfortunately MSVC only started supporting C11 atomics in VS2022 version
17.5 Preview 2 as experimental. So resort to using the Interlocked API.

Ref: https://devblogs.microsoft.com/cppblog/c11-atomics-in-visual-studio-2022-version-17-5-preview-2/
Fixes: https://github.com/libuv/libuv/issues/3948

show more ...

e189c31311-Apr-2023 Jason Zhang

doc: consistent single backquote in misc.rst (#3946)

Fixes: https://github.com/libuv/libuv/issues/3928

12345678910>>...214