#include <turf/Thread.h>
#include <turf/Mutex.h>
#include <turf/RaceDetector.h>
-#include <unordered_map>
#include <vector>
namespace junction {
// This is like saying that all contexts are quiescent,
// so we can issue all actions at once.
// No lock is taken.
- TURF_RACE_DETECT_GUARD(m_flushRaceDetector); // There should be no concurrent operations
+ TURF_RACE_DETECT_GUARD(m_flushRaceDetector); // There should be no concurrent operations
for (ureg i = 0; i < m_pendingActions.size(); i++)
m_pendingActions[i]();
m_pendingActions.clear();