On Aug 2, 2010, at 3:55 PM, Kristian Høgsberg wrote: > > I changed the code to just drop the lock while we create and > initialize the glx display. Once we're ready to add it to the list, > we take the lock again. After making sure nobody beat us to > initializing glx on the display, we add it to the global list. I > think that should work. >
Looks good to me and works well for my test cases/toolkit. Thanks. In some of the error exits in __glXInitialize() there are some superfluous leftover XUnlockMutex() calls for the no longer held mutex. Not harmful i guess, but could be deleted. best, -mario ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev