start rewriting networking

This commit is contained in:
Lion Kortlepel
2024-01-15 20:39:32 +01:00
parent 443871ec0f
commit 7e9bb0cbf2
18 changed files with 150 additions and 2046 deletions

View File

@@ -1,9 +1,10 @@
#pragma once
#include <boost/thread/synchronized_value.hpp>
#include <mutex>
/// This header provides convenience aliases for synchronization primitives.
template<typename T>
using Sync = boost::synchronized_value<T>;
using Sync = boost::synchronized_value<T, std::recursive_mutex>;