1234567891011121314151617181920 |
- // Copyright Takatoshi Kondo 2021
- //
- // Distributed under the Boost Software License, Version 1.0.
- // (See accompanying file LICENSE_1_0.txt or copy at
- // http://www.boost.org/LICENSE_1_0.txt)
- #if !defined(MQTT_BROKER_MUTEX_HPP)
- #define MQTT_BROKER_MUTEX_HPP
- #include <shared_mutex>
- #include <mqtt/broker/broker_namespace.hpp>
- MQTT_BROKER_NS_BEGIN
- using mutex = std::shared_timed_mutex;
- MQTT_BROKER_NS_END
- #endif // MQTT_BROKER_MUTEX_HPP
|