aboutsummaryrefslogtreecommitdiffstats
path: root/src/event
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-08-10 14:01:55 +0200
committerMax Kellermann <max@duempel.org>2013-08-10 14:01:55 +0200
commit00420ef9cae3835df02186bb9d9a5cefcff00a21 (patch)
tree700942882e4902da0be1e809ee41993dda2f0924 /src/event
parentb9d30595d6d09c5d844720be9870e06d4fcf0b09 (diff)
downloadmpd-00420ef9cae3835df02186bb9d9a5cefcff00a21.tar.gz
mpd-00420ef9cae3835df02186bb9d9a5cefcff00a21.tar.xz
mpd-00420ef9cae3835df02186bb9d9a5cefcff00a21.zip
EventLoop: initialise the thread id explicitly
Diffstat (limited to 'src/event')
-rw-r--r--src/event/Loop.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/event/Loop.cxx b/src/event/Loop.cxx
index 6e771d9dc..faf967f21 100644
--- a/src/event/Loop.cxx
+++ b/src/event/Loop.cxx
@@ -33,7 +33,8 @@ EventLoop::EventLoop(Default)
:SocketMonitor(*this),
now_ms(::monotonic_clock_ms()),
quit(false),
- n_events(0)
+ n_events(0),
+ thread(ThreadId::Null())
{
SocketMonitor::Open(wake_fd.Get());
SocketMonitor::Schedule(SocketMonitor::READ);