[systemd-devel] [PATCH 00/28] Initial DHCP v4 library implementation

Colin Walters walters at verbum.org
Wed Nov 13 16:48:29 PST 2013


On Thu, 2013-11-14 at 00:47 +0100, Lennart Poettering wrote:

> I am pretty sure it makes sense to have domain-specific event loops. I
> am not convinced that it would even be possible to unify all event loop
> implementations into one. For example, GLib and and sd-event support
> priorization of events, 

Right, this is:
https://bugzilla.gnome.org/show_bug.cgi?id=156048

> I doubt moving OpenJDK or Python to sd-event or something like it ever
> would make sense. (Do either even have any event loop? Java at least
> prefers async stuff via threads as the solution for IO, not multiplexing
> via poll()-like stuff -- which they only added very very late to the
> language...).

Yes, Java added it late, but it is AFAIK fairly actively used in some
subsets of that world.  Zbigniew already linked to the Python version.

> For all event loop consuming library code I write I will make sure that
> it can be connected to any reasonable event loop, not only sd-event.

Ok, that's a reasonable short term answer.



More information about the systemd-devel mailing list