diff options
Diffstat (limited to 'works/life/computer-network-experiment/IO.cpp')
-rw-r--r-- | works/life/computer-network-experiment/IO.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/works/life/computer-network-experiment/IO.cpp b/works/life/computer-network-experiment/IO.cpp index 0c20537..5d3fe12 100644 --- a/works/life/computer-network-experiment/IO.cpp +++ b/works/life/computer-network-experiment/IO.cpp @@ -9,9 +9,10 @@ folly::MPMCQueue<Output> output_queue(100);
+namespace {
folly::CancellationSource cancellation_source;
-
std::thread io_thread;
+}
void PrintOutput(const Output &output) {
std::basic_ostream<Char> *stream;
|