From afc6adb5ec7e73bc13156c43f52fb015cd80cc68 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 11 Nov 2013 19:34:13 +0100 Subject: bus: introduce concept of a "default" event loop per-thread and make use of it everywhere Try to emphasize a bit that there should be a mapping between event loops and threads, hence introduce a logic that there's one "default" event loop for each thread, that can be queried via "sd_event_default()". --- src/network/networkd-manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/network') diff --git a/src/network/networkd-manager.c b/src/network/networkd-manager.c index 6a57a80147..8378e92a81 100644 --- a/src/network/networkd-manager.c +++ b/src/network/networkd-manager.c @@ -31,7 +31,7 @@ int manager_new(Manager **ret) { if (!m) return -ENOMEM; - r = sd_event_new(&m->event); + r = sd_event_default(&m->event); if (r < 0) return r; -- cgit v1.2.3-54-g00ecf