sometimes, i get some vsync problèms using glx, multi threads... the programm could continue in all the casis, but i loose all interactivity events...

someone could lights it ?

thanx

08-01-2002, 01:29 AM

My guess is that the problem is if a sync interrupt happens when another thread is in Xlib. Have you called XInitThreads() like in this Mesa demo http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/mesa3d/Mesa/xdemos/glthreads.c?rev=1.2

saian

08-01-2002, 04:00 AM

hi.

I don't used what you said. I was trying to use glx in replacement of glut. So, i'd to use threads.

Thanks for you link, it's quite instructive. i though i could use X safely on threads...