win32/ComWorker: remove debug log messages

This commit is contained in:
Max Kellermann 2021-03-05 13:15:59 +01:00
parent b14b0e5634
commit 7838265482
1 changed files with 0 additions and 8 deletions

View File

@ -20,24 +20,16 @@
#include "ComWorker.hxx"
#include "Com.hxx"
#include "thread/Name.hxx"
#include "util/Domain.hxx"
#include "Log.hxx"
namespace {
static constexpr Domain com_worker_domain("com_worker");
}
Mutex COMWorker::mutex;
unsigned int COMWorker::reference_count = 0;
std::optional<COMWorker::COMWorkerThread> COMWorker::thread;
void COMWorker::COMWorkerThread::Work() noexcept {
FormatDebug(com_worker_domain, "Working thread started");
SetThreadName("COM Worker");
COM com{true};
while (true) {
if (!running_flag.test_and_set()) {
FormatDebug(com_worker_domain, "Working thread ended");
return;
}
while (!spsc_buffer.empty()) {