zig/lib/std/os
Joran Dirk Greef a9b107045f Use load acquire semantics when reading the SQPOLL wakeup flag
Ensures that the wakeup flag is read after the tail pointer has been
written. It's important to use memory load acquire semantics for the
flags read, otherwise the application and the kernel might not agree on
the consistency of the wakeup flag, leading to I/O starvation.

Refs: 6768ddcc56
Refs: https://github.com/axboe/liburing/issues/219
2020-10-03 14:34:42 +02:00
..
bits Define SPLICE, PROVIDE_BUFFERS, REMOVE_BUFFERS and TEE opcodes and flags 2020-09-21 20:15:14 +02:00
linux Use load acquire semantics when reading the SQPOLL wakeup flag 2020-10-03 14:34:42 +02:00
uefi fix SimpleTextInputProtocol 2020-08-29 20:24:59 +03:00
windows Merge pull request #6246 from Vexu/field 2020-09-05 13:58:02 +03:00
bits.zig add license header to all std lib files 2020-08-20 16:07:04 -04:00
darwin.zig add license header to all std lib files 2020-08-20 16:07:04 -04:00
dragonfly.zig add license header to all std lib files 2020-08-20 16:07:04 -04:00
freebsd.zig add license header to all std lib files 2020-08-20 16:07:04 -04:00
linux.zig Move to std/os/linux 2020-09-19 16:18:04 +02:00
netbsd.zig add license header to all std lib files 2020-08-20 16:07:04 -04:00
test.zig Split the sync tests into sync and fsync 2020-09-03 09:52:26 +00:00
uefi.zig add license header to all std lib files 2020-08-20 16:07:04 -04:00
wasi.zig add license header to all std lib files 2020-08-20 16:07:04 -04:00
windows.zig handle lack of privilege to create symbolic links on windows 2020-08-30 06:52:53 +02:00