mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02:00
Merge c763cacb88 into merged_master (Bitcoin PR #20938)
This commit is contained in:
commit
d9bbd295bc
2 changed files with 4 additions and 0 deletions
|
|
@ -14,6 +14,9 @@ m4_define([_CHECK_ATOMIC_testbody], [[
|
|||
#include <cstdint>
|
||||
|
||||
int main() {
|
||||
std::atomic<bool> lock{true};
|
||||
std::atomic_exchange(&lock, false);
|
||||
|
||||
std::atomic<int64_t> a{};
|
||||
|
||||
int64_t v = 5;
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@
|
|||
#include <util/system.h>
|
||||
#include <util/translation.h>
|
||||
|
||||
#include <atomic>
|
||||
#include <functional>
|
||||
#include <memory>
|
||||
#include <stdio.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue