[xmonad] Multiple threads

Ernesto Rodriguez neto at netowork.me
Sat Nov 21 21:59:02 UTC 2015


Dear List,

Is it possible to render things in the XServer with multiple threads? For
example:

dpy <- asks display
myWin <- createSimpleWindow dpy (defaultRootWindow dpy) 0 0 10 10 black
white
_ <- forkOS $ do
 -- doStuff with myWin using dpy

When I attempt doing things like that, I usually get a deadlock. Is there
any way to do this (I know, X is old :( but no harm in asking).

Thank you and best regards,

Ernesto Rodriguez

-- 
Ernesto Rodriguez

Masters Student
Computer Science
Utrecht University

www.netowork.me
github.com/netogallo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/xmonad/attachments/20151121/faa26370/attachment.html>


More information about the xmonad mailing list