Skip to content

Commit 503fc65

Browse files
committed
Set a name for the worker thread
1 parent 8a42626 commit 503fc65

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/wxServDisc.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ wxThread::ExitCode wxServDisc::Entry()
7676
fd_set fds;
7777
bool exit = false;
7878

79+
wxThread::SetNameForCurrent(wxString::Format("wxServDisc %p", this));
80+
7981
mWallClock.Start();
8082

8183
d = mdnsd_new(1,1000);

0 commit comments

Comments
 (0)