Move threading classes to zeek namespaces

This commit is contained in:
Tim Wojtulewicz 2020-08-01 10:48:46 -07:00
parent f310795d79
commit 1262109e5a
42 changed files with 299 additions and 210 deletions

View file

@ -12,7 +12,7 @@
#undef Queue // Defined elsewhere unfortunately.
namespace threading {
namespace zeek::threading {
/**
* A thread-safe single-reader single-writer queue.
@ -261,4 +261,8 @@ inline void Queue<T>::WakeUp()
}
}
} // namespace zeek::threading
namespace threading {
template<typename T> using Queue [[deprecated("Remove in v4.1. Use zeek::threading::Queue.")]] = zeek::threading::Queue<T>;
}