Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
78382654
Commit
78382654
authored
Mar 05, 2021
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
win32/ComWorker: remove debug log messages
parent
b14b0e56
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
ComWorker.cxx
src/win32/ComWorker.cxx
+0
-8
No files found.
src/win32/ComWorker.cxx
View file @
78382654
...
...
@@ -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
())
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment