Ernesto Rodriguez
2015-11-21 21:59:02 UTC
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
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
Ernesto Rodriguez
Masters Student
Computer Science
Utrecht University
www.netowork.me
github.com/netogallo