#include "stl-model.h"
#include "params.h"
-#include <mutex>
+#include "mutex.h"
+#include <condition_variable>
/* Forward declaration */
class Node;
CycleGraph * const get_mo_graph() { return mo_graph; }
- HashTable<pthread_mutex_t *, std::mutex *, uintptr_t, 4> mutex_map;
+ HashTable<pthread_mutex_t *, cdsc::mutex *, uintptr_t, 4> mutex_map;
+ HashTable<pthread_cond_t *, cdsc::condition_variable *, uintptr_t, 4> cond_map;
SNAPSHOTALLOC
private:
HashTable<void *, SnapVector<action_list_t> *, uintptr_t, 4> obj_thrd_map;
-// HashTable<pthread_mutex_t *, std::mutex *, uintptr_t, 4> mutex_map;
+// HashTable<pthread_mutex_t *, cdsc::mutex *, uintptr_t, 4> mutex_map;
/**
* @brief List of currently-pending promises