Replace amd::Atomic with std::atomic. Remove make_atomic uses by
converting the variable to std::atomic and making sure the memory
order is relaxed when synchronizes-with is not needed.

Delete utils/atomic.hpp.

Change-Id: I0b36db8d604a8510ac6e36b32885fd16a1b8ccfa
This commit is contained in:
Laurent Morichetti
2020-08-28 21:38:05 -07:00
committato da Saleel Kudchadker
parent cef70aa8d3
commit 5d4b6f74d3
22 ha cambiato i file con 46 aggiunte e 495 eliminazioni
+1 -1
Vedi File
@@ -19,11 +19,11 @@
THE SOFTWARE. */
#include "thread/monitor.hpp"
#include "thread/atomic.hpp"
#include "thread/semaphore.hpp"
#include "thread/thread.hpp"
#include "utils/util.hpp"
#include <atomic>
#include <cstring>
#include <tuple>
#include <utility>