zig/lib/std
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
..
atomic add license header to all std lib files 2020-08-20 16:07:04 -04:00
build Fix missing init() update in std/build/write_file.zig 2020-08-20 19:21:10 -04:00
c Link against libSystem when generating Mach-O exe 2020-08-24 17:59:44 +02:00
compress std: Add a gzip decoder 2020-09-11 20:02:41 -04:00
crypto std.crypto siphash: fix assertion on the size of output buffer 2020-09-16 02:24:36 -07:00
debug update uses of deprecated type field access 2020-09-03 18:10:40 +03:00
event std: add option to use single-threaded event loop 2020-09-10 15:40:38 -04:00
fmt Merge pull request #6246 from Vexu/field 2020-09-05 13:58:02 +03:00
fs std.fs.File: fix typo in writeFileAll 2020-09-10 18:53:20 -07:00
hash Merge pull request #6172 from tadeokondrak/@Type(.Union) 2020-09-14 16:43:49 +03:00
heap Add resize for arena allocator 2020-09-08 13:04:14 -04:00
http hash_map: rename to ArrayHashMap and add new HashMap implementation 2020-09-02 00:17:50 +02:00
io Use less inefficient method of replacing TypeInfo.UnionField.enum_field 2020-09-07 06:23:27 -06:00
json add license header to all std lib files 2020-08-20 16:07:04 -04:00
math big int: fix Managed.dump() 2020-09-07 20:44:01 +03:00
mem Merge pull request #6239 from pfgithub/patch-1 2020-09-06 01:16:33 -04:00
meta builtin: Add TypeInfo.StructField.is_comptime 2020-09-02 00:17:59 -04:00
net add license header to all std lib files 2020-08-20 16:07:04 -04:00
os Use load acquire semantics when reading the SQPOLL wakeup flag 2020-10-03 14:34:42 +02:00
rand add license header to all std lib files 2020-08-20 16:07:04 -04:00
special Merge pull request #5527 from shawnanastasio/ppc64le 2020-09-10 15:56:27 -04:00
target add license header to all std lib files 2020-08-20 16:07:04 -04:00
testing add license header to all std lib files 2020-08-20 16:07:04 -04:00
time add license header to all std lib files 2020-08-20 16:07:04 -04:00
unicode add license header to all std lib files 2020-08-20 16:07:04 -04:00
valgrind add license header to all std lib files 2020-08-20 16:07:04 -04:00
zig stage2: fix tokenizer float bug 2020-09-03 15:05:47 +03:00
array_hash_map.zig hash_map: rename to ArrayHashMap and add new HashMap implementation 2020-09-02 00:17:50 +02:00
array_list.zig std: ArrayList.initCapacity now respects the specified cap 2020-09-02 11:11:57 +02:00
array_list_sentineled.zig add license header to all std lib files 2020-08-20 16:07:04 -04:00
ascii.zig add license header to all std lib files 2020-08-20 16:07:04 -04:00
atomic.zig add license header to all std lib files 2020-08-20 16:07:04 -04:00
base64.zig add license header to all std lib files 2020-08-20 16:07:04 -04:00
bloom_filter.zig Hash functions now accept an option set 2020-08-21 00:51:14 +02:00
buf_map.zig add license header to all std lib files 2020-08-20 16:07:04 -04:00
buf_set.zig hash_map: rename to ArrayHashMap and add new HashMap implementation 2020-09-02 00:17:50 +02:00
build.zig Merge pull request #6315 from ifreund/optional-shlib-version 2020-09-11 16:07:13 -04:00
builtin.zig Implement @Type for Union 2020-09-07 06:23:24 -06:00
c.zig std: add prctl definition when linking libc 2020-09-11 22:32:23 +02:00
cache_hash.zig cache_hash: hash function change 2020-08-22 15:10:33 -04:00
child_process.zig std.ChildProcess: use "\Device\Null" on Windows 2020-09-06 18:25:33 -04:00
coff.zig Completed basic PE linker for stage2 2020-09-04 05:15:03 +03:00
compress.zig std: Add a gzip decoder 2020-09-11 20:02:41 -04:00
comptime_string_map.zig add license header to all std lib files 2020-08-20 16:07:04 -04:00
crypto.zig Promote hash/siphash to crypto/siphash 2020-08-22 02:47:50 -04:00
cstr.zig add license header to all std lib files 2020-08-20 16:07:04 -04:00
debug.zig add license header to all std lib files 2020-08-20 16:07:04 -04:00
dwarf.zig add license header to all std lib files 2020-08-20 16:07:04 -04:00
dwarf_bits.zig add license header to all std lib files 2020-08-20 16:07:04 -04:00
dynamic_library.zig add license header to all std lib files 2020-08-20 16:07:04 -04:00
elf.zig std: Fix typo in ELF section header iterator 2020-09-15 18:14:06 +03:00
event.zig add license header to all std lib files 2020-08-20 16:07:04 -04:00
fifo.zig add license header to all std lib files 2020-08-20 16:07:04 -04:00
fmt.zig Use less inefficient method of replacing TypeInfo.UnionField.enum_field 2020-09-07 06:23:27 -06:00
fs.zig std: Fix for 32bit systems 2020-09-04 12:48:36 +02:00
hash.zig Promote hash/siphash to crypto/siphash 2020-08-22 02:47:50 -04:00
hash_map.zig Switch type of HashMap's count from usize to u32 (#6262) 2020-09-09 00:33:14 -04:00
heap.zig Merge pull request #6239 from pfgithub/patch-1 2020-09-06 01:16:33 -04:00
http.zig add license header to all std lib files 2020-08-20 16:07:04 -04:00
io.zig zig fmt: Remove dynamic stack from auto-indenting-stream 2020-08-31 23:39:50 +10:00
json.zig Use less inefficient method of replacing TypeInfo.UnionField.enum_field 2020-09-07 06:23:27 -06:00
linked_list.zig std: remove init functions from linked list nodes 2020-08-22 02:47:39 -04:00
log.zig provide default implementation of std.log on freestanding 2020-09-04 13:00:10 -07:00
macho.zig Fix bug where __text section would get overwritten 2020-09-08 20:55:06 +02:00
math.zig update uses of deprecated type field access 2020-09-03 18:10:40 +03:00
mem.zig update uses of deprecated type field access 2020-09-03 18:10:40 +03:00
meta.zig translate-c: determine sizeof using std.meta.sizeof 2020-09-14 23:53:38 +03:00
mutex.zig add license header to all std lib files 2020-08-20 16:07:04 -04:00
net.zig os: return error.SocketNotListening for EINVAL on accept (#6226) 2020-09-03 13:57:08 -04:00
once.zig add license header to all std lib files 2020-08-20 16:07:04 -04:00
os.zig std: Limit the read/write size on Darwin 2020-09-13 16:31:21 -04:00
packed_int_array.zig add license header to all std lib files 2020-08-20 16:07:04 -04:00
pdb.zig update rest of tests 2020-09-04 22:49:14 +03:00
priority_queue.zig Fix issue #6303: iterating empty PriorityQueue crashes 2020-09-10 12:00:53 +03:00
process.zig std: fix bitrot in process.posixGetUserInfo() 2020-09-10 14:30:07 -04:00
progress.zig Introduces a space after the ellipsis for test and progress. 2020-09-03 18:07:30 -04:00
rand.zig update uses of deprecated type field access 2020-09-03 18:10:40 +03:00
rb.zig add license header to all std lib files 2020-08-20 16:07:04 -04:00
reset_event.zig add license header to all std lib files 2020-08-20 16:07:04 -04:00
segmented_list.zig add license header to all std lib files 2020-08-20 16:07:04 -04:00
sort.zig add license header to all std lib files 2020-08-20 16:07:04 -04:00
spinlock.zig add license header to all std lib files 2020-08-20 16:07:04 -04:00
start.zig Merge pull request #5527 from shawnanastasio/ppc64le 2020-09-10 15:56:27 -04:00
start_windows_tls.zig add license header to all std lib files 2020-08-20 16:07:04 -04:00
std.zig Remove dangling @import from std 2020-09-19 16:45:52 +02:00
target.zig Added .pe ObjectFormat 2020-09-04 05:22:26 +03:00
testing.zig add license header to all std lib files 2020-08-20 16:07:04 -04:00
thread.zig update uses of deprecated type field access 2020-09-03 18:10:40 +03:00
time.zig add license header to all std lib files 2020-08-20 16:07:04 -04:00
unicode.zig add license header to all std lib files 2020-08-20 16:07:04 -04:00
valgrind.zig add license header to all std lib files 2020-08-20 16:07:04 -04:00
zig.zig update uses of deprecated type field access 2020-09-03 18:10:40 +03:00