forked from dotnet/runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[c11] define mono atomics in terms of standard atomics (dotnet#91489)
* [c11] define mono atomics in terms of standard atomics * include clang headers in offset_tool.py for wasm * fix clang include path on windows libclang.dll is in bin, not lib * disable stdatomic on android-x86 ATOMIC_LONG_LONG_LOCK_FREE is 1, not 2 * android-x64 also doesn't always have lockfree atomics * fix typo - disable stdatomic atomics when building with MSVC * disable stdatomic on armv7 * switch to opt-in * Apply suggestions from code review - Fix typos. - Use `_Atomic(T)` (macro) instead of `_Atomic T` (qualifier). * add volatile qualifier to casts; fixup whitespace --------- Co-authored-by: Aaron Robinson <arobins@microsoft.com> Co-authored-by: Johan Lorensson <lateralusx.github@gmail.com>
- Loading branch information
1 parent
c53e4dc
commit bb2cfd5
Showing
2 changed files
with
259 additions
and
2 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