From d17632fadd1f901aa1fd41aceb06663019d73ade Mon Sep 17 00:00:00 2001 From: Kenny Levinsen Date: Mon, 31 Aug 2020 03:14:51 +0200 Subject: poller: Convert to linked_list --- include/poller.h | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'include') diff --git a/include/poller.h b/include/poller.h index 0142add..f30bbda 100644 --- a/include/poller.h +++ b/include/poller.h @@ -4,7 +4,7 @@ #include #include -#include "list.h" +#include "linked_list.h" /* * These are the event types available from the poller. @@ -68,15 +68,13 @@ int event_source_signal_destroy(struct event_source_signal *event_source); * The poller base class. This must be created by poller_create. */ struct poller { - struct list signals; - struct list new_signals; - struct list fds; - struct list new_fds; + struct linked_list signals; + struct linked_list fds; struct pollfd *pollfds; size_t pollfds_len; - bool dirty; - bool inpoll; + size_t fd_event_sources; + bool pollfds_dirty; }; /** -- cgit v1.2.3