From da6c0e6194578538ce0bcd1b9815696b96153f6b Mon Sep 17 00:00:00 2001 From: crupest Date: Mon, 7 Jun 2021 14:05:51 +0800 Subject: import(life): ... --- works/life/computer-network-experiment/Output.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'works/life/computer-network-experiment/Output.h') diff --git a/works/life/computer-network-experiment/Output.h b/works/life/computer-network-experiment/Output.h index b81dbfd..22b913a 100644 --- a/works/life/computer-network-experiment/Output.h +++ b/works/life/computer-network-experiment/Output.h @@ -5,7 +5,9 @@ #include #include #include +#include +#include #include enum class OutputType { Normal, Error }; @@ -42,3 +44,7 @@ void SendOutput(OutputType type, StringView format, Args &&...args) { } void OutputThread(); + +void SignalAndWaitForOutputThreadStop(); + +extern std::thread output_thread; -- cgit v1.2.3