Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dav1d
Manage
Activity
Members
Labels
Plan
Issues
25
Issue boards
Milestones
Wiki
Code
Merge requests
13
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
dav1d
Merge requests
!1460
Implement atomic_compare_exchange_strong in the atomic compat headers
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Implement atomic_compare_exchange_strong in the atomic compat headers
mstorsjo/dav1d:atomic-compare-exchange
into
master
Overview
0
Commits
1
Pipelines
2
Changes
2
Merged
Martin Storsjö
requested to merge
mstorsjo/dav1d:atomic-compare-exchange
into
master
2 years ago
Overview
0
Commits
1
Pipelines
2
Changes
2
Expand
This fixes building with MSVC (and older GCC versions) after
3e7886db
.
0
0
Merge request reports
Compare
master
version 1
0e49dd5c
2 years ago
master (base)
and
latest version
latest version
8a4932ff
1 commit,
2 years ago
version 1
0e49dd5c
1 commit,
2 years ago
2 files
+
10
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
include/compat/gcc/stdatomic.h
+
1
−
0
Options
@@ -44,6 +44,7 @@ typedef unsigned int atomic_uint;
#define atomic_fetch_sub(p_a, dec) __atomic_fetch_sub(p_a, dec, __ATOMIC_SEQ_CST)
#define atomic_exchange(p_a, v) __atomic_exchange_n(p_a, v, __ATOMIC_SEQ_CST)
#define atomic_fetch_or(p_a, v) __atomic_fetch_or(p_a, v, __ATOMIC_SEQ_CST)
#define atomic_compare_exchange_strong(p_a, expected, desired) __atomic_compare_exchange_n(p_a, expected, desired, 0, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST)
#endif
/* !defined(__cplusplus) */
Loading