[xmonad] Re: Issue 197 in xmonad: Blocking on nextEvent stops other threads from running

codesite-noreply at google.com codesite-noreply at google.com
Tue Dec 1 08:57:30 EST 2009


Comment #6 on issue 197 by vogt.adam: Blocking on nextEvent stops other  
threads from running
http://code.google.com/p/xmonad/issues/detail?id=197

xlib isn't threadsafe, so supposedly you can crash X (or at least xmonad)  
if you
manage to do calls to X from more than one thread.

I think sjanssen's idea (something started?) of caching common X11 calls  
might be of
use here: have a single thread multiplex all X calls from various threads.  
Are there
any reasons that design wouldn't permit a reasonably safe -threaded (other  
than
having to somehow prohibit access to, or change the X11 binding)?

Perhaps a better option is if somebody put the effort into porting xmonad  
to xhb instead?

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings


More information about the xmonad mailing list