From 41cc69584835dc57424612d0f260da53dcba426b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 23 Jul 2024 15:12:01 +0200 Subject: [PATCH] Instance: fix io/rtio thread mixup Fixes regression by commit 43d633f560ee2499a02094039fa1ec24d8f47f14 --- src/Instance.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Instance.hxx b/src/Instance.hxx index 4a27ab808..3a77650bd 100644 --- a/src/Instance.hxx +++ b/src/Instance.hxx @@ -73,7 +73,7 @@ struct Instance final /** * A thread running an #EventLoop for non-blocking (bulk) I/O. */ - EventThread io_thread{true}; + EventThread io_thread; /** * Another thread running an #EventLoop for non-blocking @@ -81,7 +81,7 @@ struct Instance final * events which require low latency, e.g. for filling hardware * ring buffers. */ - EventThread rtio_thread; + EventThread rtio_thread{true}; #ifdef ENABLE_SYSTEMD_DAEMON Systemd::Watchdog systemd_watchdog{event_loop};