#include <queue>
#include <string>
#include <fstream>
-#include "threads.h"
+#include <thread>
+#include <mutex>
#include "irrlichttypes.h"
class ILogOutput;
// written to when one thread has access currently).
// Works on all known architectures (x86, ARM, MIPS).
volatile bool m_silenced_levels[LL_MAX];
- std::map<threadid_t, std::string> m_thread_names;
- mutable Mutex m_mutex;
+ std::map<std::thread::id, std::string> m_thread_names;
+ mutable std::mutex m_mutex;
bool m_trace_enabled;
};