
7 May
2012
7 May
'12
10:31 a.m.
Quoting Brandon Allbery
Also be aware that a number of contrib modules *already* use threads... green threads, which open their own $DISPLAY connections. This is entirely safe as long as you don't do something that would block in an FFI call or that would expect the xmonad main loop to run while simultaneously expecting a *synchronous* response (as the infamous putSelection did).
These two caveats sound like a great argument for applying this patch bundle to me. However, if there's significant concern, I would be willing to create and apply a patch bundle that doesn't call initThreads but still forked a thread for rebuilding and restarting (by opening a new X connection before the restart). ~d