zig/lib/std/Thread
Alex Rønne Petersen 481b7bf3f0
std.Target: Remove functions that just wrap component functions.
Functions like isMinGW() and isGnuLibC() have a good reason to exist: They look
at multiple components of the target. But functions like isWasm(), isDarwin(),
isGnu(), etc only exist to save 4-8 characters. I don't think this is a good
enough reason to keep them, especially given that:

* It's not immediately obvious to a reader whether target.isDarwin() means the
  same thing as target.os.tag.isDarwin() precisely because isMinGW() and similar
  functions *do* look at multiple components.
* It's not clear where we would draw the line. The logical conclusion before
  this commit would be to also wrap Arch.isX86(), Os.Tag.isSolarish(),
  Abi.isOpenHarmony(), etc... this obviously quickly gets out of hand.
* It's nice to just have a single correct way of doing something.
2025-02-17 19:18:19 +01:00
..
Mutex std.Thread.Mutex.Recursive: alternate implementation 2024-06-12 18:07:39 -07:00
Condition.zig x86_64: implement switch jump tables 2025-01-16 20:42:08 -05:00
Futex.zig std.Target: Remove functions that just wrap component functions. 2025-02-17 19:18:19 +01:00
Mutex.zig x86_64: implement switch jump tables 2025-01-16 20:42:08 -05:00
Pool.zig x86_64: fix crashes compiling the compiler and tests 2025-01-16 20:47:30 -05:00
ResetEvent.zig remove @fence (#21585) 2024-10-04 22:21:27 +00: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 combine codegen work queue and linker task queue 2024-10-23 16:27:39 -07:00