Skip to content
This repository has been archived by the owner on Dec 24, 2024. It is now read-only.

Use is_always_lock_free from std::atomics in function BasicCheck file atomic_helpers.h #34

Closed
wants to merge 4 commits into from

Conversation

dezhiAmd
Copy link
Collaborator

@dezhiAmd dezhiAmd commented Sep 27, 2024

What has been changed:

  1. Remove an input parameter which function BasicCheck never uses
  2. Replace a Linux specific function "__atomic_always_lock_free" with std::atomic constant "is_always_lock_free" added in c++17
  3. Change compiling flags from -std=c++11 to -std=c++17

@dezhiAmd dezhiAmd marked this pull request as draft September 27, 2024 20:52
@dezhiAmd dezhiAmd changed the title Use is_always_lock_free from std::atomics in function BasicCheck file atomic_helpers.h WIP: Use is_always_lock_free from std::atomics in function BasicCheck file atomic_helpers.h Sep 27, 2024
@dezhiAmd dezhiAmd changed the title WIP: Use is_always_lock_free from std::atomics in function BasicCheck file atomic_helpers.h Use is_always_lock_free from std::atomics in function BasicCheck file atomic_helpers.h Sep 27, 2024
@dezhiAmd dezhiAmd marked this pull request as ready for review September 27, 2024 21:54
@dezhiAmd dezhiAmd closed this by deleting the head repository Dec 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants