mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2025-06-30 23:06:05 +00:00
10 lines
244 B
C++
10 lines
244 B
C++
#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, std::recursive_mutex>;
|