[xmonad] bringing xmonad into the threaded world

Brandon Allbery allbery.b at gmail.com
Tue May 8 00:40:25 CEST 2012


On Mon, May 7, 2012 at 6:18 PM, Don Stewart <dons00 at gmail.com> wrote:

> xmonad isn't threaded because the X server doesn't allow concurrent access
> -- it will crash.


Modern libX11 has thread "support" (it wraps every API call in a mutex) if
so compiled and you make the appropriate call to tell it to do the
wrapping; that's part of what the proposed patch did.  It's not very smart
and slows things down a lot; most people prefer to pretend it's still not
threaded as a result.

XCB has slightly better thread support.

-- 
brandon s allbery                                      allbery.b at gmail.com
wandering unix systems administrator (available)     (412) 475-9364 vm/sms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/xmonad/attachments/20120507/a76e3772/attachment.htm>


More information about the xmonad mailing list