dx-packages team mailing list archive
-
dx-packages team
-
Mailing list archive
-
Message #34008
[Bug 1111216] Re: Drop support for running without GLib event loop
** Changed in: nux
Milestone: 4.0.7 => 4.0.8
--
You received this bug notification because you are a member of DX
Packages, which is subscribed to nux in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1111216
Title:
Drop support for running without GLib event loop
Status in Nux:
In Progress
Status in nux package in Ubuntu:
In Progress
Bug description:
Nux has support in conditional compilation for running without the
GLib event loop.
This bug is about getting support for that dropped. Considering that
the GLib event loop is supported on all platforms that Nux supports,
there isn't much of a reason for running without it.
The main reasons it should be removed are :
1. Its not used by anybody
2. Maintenance burden - every time you want to use some new event source, you have to provide support on both
3. Its completely broken from a code inspection POV:
-> It uses while (true) and busy-waits for new events (most of the time)
-> Sometimes the event retrieval sources block, sometimes they don't.
-> The check-for-events and dispatch-event code is in the same function for every source, which means that if one source blocks (eg XLib), and the other has pending events (Geis) then there's a potential deadlock until the first one unblocks
-> There's support for both Geis and XLib in the non-glib event loop, except that the Geis portion depends on compiling with GLib in order to actually retrieve events, rendering it non-functional in this mode.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nux/+bug/1111216/+subscriptions