jwiegley / emacs-async

Simple library for asynchronous processing in Emacs
GNU General Public License v3.0
828 stars 68 forks source link

async-get stalls during init on certain platforms #130

Open PythonNut opened 3 years ago

PythonNut commented 3 years ago

Under certain conditions, process sentinels don't run during init. Because of this, if one does async-get (or similar) during init, the init will stall indefinitely.

I have reproduced this using the emacs (version 27.1-3) package from the Arch Linux repos running in graphical mode (Gtk). (And also the AUR package emacs27-git). There is also a report of this happening on a more recent version of macs in the above S/O link.

I realize this may be annoying to track down and might not even be fixable, but I am willing to provide any assistance I can towards solving this.