zig/lib/std/Thread
Andrew Kelley e8c4e79499 std.c reorganization
It is now composed of these main sections:
* Declarations that are shared among all operating systems.
* Declarations that have the same name, but different type signatures
  depending on the operating system. Often multiple operating systems
  share the same type signatures however.
* Declarations that are specific to a single operating system.
  - These are imported one per line so you can see where they come from,
    protected by a comptime block to prevent accessing the wrong one.

Closes #19352 by changing the convention to making types `void` and
functions `{}`, so that it becomes possible to update `@hasDecl` sites
to use `@TypeOf(f) != void` or `T != void`. Happily, this ended up
removing some duplicate logic and update some bitrotted feature
detection checks.

A handful of types have been modified to gain namespacing and type
safety. This is a breaking change.

Oh, and the last usage of `usingnamespace` site is eliminated.
2024-07-19 00:30:32 -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 std.c reorganization 2024-07-19 00:30:32 -07:00
Mutex.zig std.c reorganization 2024-07-19 00:30:32 -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