-
Notifications
You must be signed in to change notification settings - Fork 608
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
C11's _Generic lets us avoid the need for specifying the type in the name and more closely match the C11 atomic syntax. This assumes that any C compiler we have that goes down the disabled atomics path supports _Generic (modern GCC, Clang, and MSVC all have for awhile). This allows us to drop-in replace C11-style atomics (useful in the new AMDGPU backend) and on MSVC will allow us to use their implementation when it's ready (it's way better than the Interlocked solution we have now).
- Loading branch information
Showing
34 changed files
with
794 additions
and
606 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.