Android: mainloop thread doesn't always wake up when a GSource is added
Submitted by Patrik Oldsberg
Link to original bug (#745965)
Description
I'm experiencing an issue on Android where there can be a delay between adding an idle source or a timer, and the callback being called. The delay ranges from a few seconds to several minutes.
The problem only seems to be present when the mainloop thread has been idle for some time. My current workaround, which reliably solves the issue, is to add an empty timer that repeats every second.
Version: 2.42.x