zig/lib/std/Thread
Lucas Santos 89942ebd03
Better implementation of GetLastError. (#20623)
Instead of calling the dynamically loaded kernel32.GetLastError, we can extract it from the TEB.
As shown by [Wine](34b1606019/include/winternl.h (L439)), the last error lives at offset 0x34 of the TEB in 32-bit Windows and at offset 0x68 in 64-bit Windows.
2024-07-15 10:49:51 -07:00
..
Mutex std.Thread.Mutex.Recursive: alternate implementation 2024-06-12 18:07:39 -07:00
Condition.zig Better implementation of GetLastError. (#20623) 2024-07-15 10:49:51 -07:00
Futex.zig Update uses of @fieldParentPtr to use RLS 2024-03-30 20:50:48 -04:00
Mutex.zig introduce std.Thread.Mutex.Recursive 2024-06-12 17:43:49 -07:00
Pool.zig test: Add spawn behavior test 2024-07-09 21:15:29 -04:00
ResetEvent.zig std.builtin: make atomic order fields lowercase 2024-03-11 07:09:10 -07:00
RwLock.zig Clarify the blocking behavior of RwLock.lockShared(). (#19752) 2024-04-24 10:41:13 -05:00
Semaphore.zig Change many test blocks to doctests/decltests 2024-02-26 15:18:31 -08:00
WaitGroup.zig std.builtin: make atomic order fields lowercase 2024-03-11 07:09:10 -07:00