diff options
author | crupest <crupest@outlook.com> | 2021-06-08 10:16:22 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-06-08 10:16:22 +0800 |
commit | cf1ab8c2f4c083f40afdeeca15c66afc0e05610d (patch) | |
tree | aa7a161747b0fb1adbd401492e104ef925bd16df /computer-network-experiment/IO.cpp | |
parent | 2dd9b0e926ed97b64f0e6c2b6c071feaab9c47a0 (diff) | |
download | life-cf1ab8c2f4c083f40afdeeca15c66afc0e05610d.tar.gz life-cf1ab8c2f4c083f40afdeeca15c66afc0e05610d.tar.bz2 life-cf1ab8c2f4c083f40afdeeca15c66afc0e05610d.zip |
...
Diffstat (limited to 'computer-network-experiment/IO.cpp')
-rw-r--r-- | computer-network-experiment/IO.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/computer-network-experiment/IO.cpp b/computer-network-experiment/IO.cpp index 0c20537..5d3fe12 100644 --- a/computer-network-experiment/IO.cpp +++ b/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;
|