EventLoop: initialise the thread id explicitly
This commit is contained in:
parent
b9d30595d6
commit
00420ef9ca
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user