Generalize event loop a bit and pull in the timerfd stuff.

This commit is contained in:
Kristian Høgsberg 2008-11-28 18:35:25 -05:00
parent fbdbbdc153
commit 4a29890da7
6 changed files with 261 additions and 95 deletions

View file

@ -81,3 +81,9 @@ wl_list_length(struct wl_list *list)
return count;
}
int
wl_list_empty(struct wl_list *list)
{
return list->next == list;
}