mirror of
https://github.com/zeek/zeek.git
synced 2025-10-11 19:18:19 +00:00
Move threading classes to zeek namespaces
This commit is contained in:
parent
f310795d79
commit
1262109e5a
42 changed files with 299 additions and 210 deletions
|
@ -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>;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue