libuv/src
Anton Kirilov 3d9d7c7ef6
unix: improve uv__cpu_relax() on arm (#4863)
The AArch64 YIELD instruction affects processors that support
symmetric multithreading, while on other implementations (which
are the majority on the market) it is equivalent to NOP, thus
failing to achieve the desired delay effect inside uv__async_spin().
Instead, use the ISB instruction, following one of Arm's
recommendations [1].

[1] https://community.arm.com/arm-community-blogs/b/architectures-and-processors-blog/posts/multi-threaded-applications-arm

Signed-off-by: Anton Kirilov <anton.kirilov@arm.com>
2025-08-20 21:15:37 +02:00
..
unix unix: improve uv__cpu_relax() on arm (#4863) 2025-08-20 21:15:37 +02:00
win win: work around wine bug in uv_fs_{unlink,rmdir} (#4833) 2025-07-24 21:15:39 +02:00
fs-poll.c style: rename parameter to match definition 2025-03-17 22:32:21 +01:00
heap-inl.h heap: fix heap_remove() 2014-05-23 20:04:42 +04:00
idna.c unix,win: fix off-by-one in uv_wtf8_to_utf16() (#4609) 2024-11-19 19:09:03 +01:00
idna.h misc: export WTF8 conversion utilities (#4021) 2023-10-28 21:04:57 -04:00
inet.c unix,win: fix 'sprintf' is deprecated warning (#3813) 2022-11-08 09:56:14 +01:00
queue.h unix,win: replace QUEUE with struct uv__queue (#4022) 2023-05-25 00:04:30 +02:00
random.c win: use ProcessPrng (#4836) 2025-07-16 20:18:29 +02:00
strscpy.c nfci: address some style nits 2020-08-21 17:25:42 -04:00
strscpy.h hurd: unbreak build on GNU/Hurd (#3450) 2022-02-23 12:04:18 -05:00
strtok.c core: add thread-safe strtok implementation (#3553) 2022-03-22 15:15:00 -04:00
strtok.h core: add thread-safe strtok implementation (#3553) 2022-03-22 15:15:00 -04:00
thread-common.c barrier: wait for prior out before next in (#3905) 2023-03-06 17:57:25 -05:00
threadpool.c src: set a default thread name for workers (#4664) 2025-01-08 13:58:28 +01:00
timer.c src: remove unused include of <assert.h> in timer.c (#4774) 2025-05-02 10:13:07 +02:00
uv-common.c unix: deduplicate uv_free_interface_addresses (#4818) 2025-07-05 13:05:46 +02:00
uv-common.h win: add ENABLE_VIRTUAL_TERMINAL_INPUT raw tty mode (#4688) 2025-02-21 23:34:53 +01:00
uv-data-getter-setters.c nfci: address some style nits 2020-08-21 17:25:42 -04:00
version.c core: add UV_VERSION_HEX macro 2015-06-29 23:08:41 +02:00