Afternoon,

I'm trying to write a multi-threaded app which uses render extensions. 
Target is XFree 4.0.3 on i810 hardware.

In a single thread it works fine - as soon as I put in XInitThreads() the 
app locks inside XRenderFindFormat (calls XRenderQueryFormats, 
XGetVisualInfo, XInitThreads).

The reason for making it multithreaded is because the app generates a lot 
of timer and internal events so I need to be able to handle these events 
alongside server events. I therefore wanted 1 thread in a XNextEventLoop 
and 1 loop maintaining internal state - performing the drawing.

Is rendering known to be thread-broken? Is there something silly I'm 
forgetting (this is about my forth week in X land!).

Any help gratefully received
Ian

---
********************* NEW 'PHONE NUMBER ***************************
Ian Medland - Senior Software Engineer : Strategy & Technology Ltd.
http://www.s-and-t.com
Tel: +44 117 3101292, Fax: +44 117 950 0727, GSM: +44 7768 426 326

_______________________________________________
Render mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/render

Reply via email to