Commit 00420ef9 authored by Max Kellermann's avatar Max Kellermann

EventLoop: initialise the thread id explicitly

parent b9d30595
...@@ -33,7 +33,8 @@ EventLoop::EventLoop(Default) ...@@ -33,7 +33,8 @@ EventLoop::EventLoop(Default)
:SocketMonitor(*this), :SocketMonitor(*this),
now_ms(::monotonic_clock_ms()), now_ms(::monotonic_clock_ms()),
quit(false), quit(false),
n_events(0) n_events(0),
thread(ThreadId::Null())
{ {
SocketMonitor::Open(wake_fd.Get()); SocketMonitor::Open(wake_fd.Get());
SocketMonitor::Schedule(SocketMonitor::READ); SocketMonitor::Schedule(SocketMonitor::READ);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment