Randall Frank wrote:
>
> Hello,
> I ran into a snag today, it appears that the glx routines
> are not thread aware? In my example, I am rendering to multiple
> gl contexts simultaneously using pthreads under Linux/Irix. Mesa
> with thread support enabled seems to work ok, but I had the
> need to make a couple of glx calls, and they failed. For
> example, glXGetCurrentContext() returned the same context for
> every thread (but glXMakeCurrent() seemed to work). The code
> runs fine against SGI OpenGL under Irix. I have not had the time
> to look into it deeply (I rewrote my app so it did not require the
> failing calls), but is this a known problem and is anyone looking
> into it?
Neither the Xlib driver nor the GLX code is thread-safe. The
people who implemented thread safety only did so for the OSMesa
interface and driver.
I expect that I'll be putting some work into thread safety for
Mesa 3.3.
-Brian
_______________________________________________
Mesa-dev maillist - [EMAIL PROTECTED]
http://lists.mesa3d.org/mailman/listinfo/mesa-dev