* fichiers sources
- atomic_compat.h chargement des la classe std::atomic<T>
-
communicator.h la couche de communication
communicator.cpp
+++ /dev/null
-#ifndef ATOMIC_COMPAT_H
-#define ATOMIC_COMPAT_H
-
-#if __GNUC__ == 4 && __GNUC_MINOR__ == 4
-# include <cstdatomic> // <atomic> is named <cstdatomic> in gcc 4.4
-
-template<typename _Tp> // fix missing definition in gcc 4.4
-void
-atomic<_Tp*>::store(_Tp* __v, memory_order __m) volatile
-{ atomic_address::store(__v, __m); }
-
-#else
-# include <atomic>
-#endif
-
-#endif // !ATOMIC_COMPAT_H
-
-// Local variables:
-// mode: c++
-// End:
//#undef USE_UNORDERED_MAP
#include <algorithm>
+#include <atomic>
#include <functional>
#ifdef USE_UNORDERED_MAP
# include <unordered_map>
#include <vector>
#include <msg/msg.h>
#include <xbt/log.h>
-#include "atomic_compat.h"
#include "communicator.h"
#include "misc.h"
#include "msg_thread.h"
#ifndef SYNC_QUEUE_H
#define SYNC_QUEUE_H
-#include "atomic_compat.h"
+#include <atomic>
#define SYNC_QUEUE_BUFSIZE 16