From 7387f7f6b615717dd863bcb62ee7f65ace29879b Mon Sep 17 00:00:00 2001 From: Determinant Date: Mon, 12 Nov 2018 15:52:38 -0500 Subject: update PeerNetwork to work with multiloops --- include/salticidae/type.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/salticidae/type.h') diff --git a/include/salticidae/type.h b/include/salticidae/type.h index c454265..68deeb0 100644 --- a/include/salticidae/type.h +++ b/include/salticidae/type.h @@ -33,6 +33,7 @@ #include #include #include +#include namespace salticidae { @@ -40,6 +41,8 @@ const auto _1 = std::placeholders::_1; const auto _2 = std::placeholders::_2; using bytearray_t = std::vector; +using mutex_lg_t = std::lock_guard; +using mutex_ul_t = std::unique_lock; template T htole(T) = delete; template<> inline uint16_t htole(uint16_t x) { return htole16(x); } -- cgit v1.2.3