Re: [Plib-devel] Patches for FreeBSD
Brought to you by:
sjbaker
From: Steve B. <sjb...@ai...> - 2004-12-30 21:08:08
|
Bert Driehuis wrote: > glIsValidContext() fails when there is a mismatch in the pthread > implementation between different libraries used by Plib. !!!! I think it's *far* more likely that there is a bug in the application you are using to test with. It's quite possible for a threaded application to open a GL context in one thread and do OpenGL calls in another thread. It's easy to imagine a situation where there would be a race hazard that would result in some thread implementations allowing the application to work as intended and other thread implementations to show up the problem that was there in the application all along. Turning off the glIsValidContext() would give such broken applications more time to sort out their problems so the race condition would be much less aparrent than it would otherwise be. I very much doubt that the thread library and/or OpenGL and/or PLIB is to blame in this case...although it's obviously possible. ---------------------------- Steve Baker ------------------------- HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> HomePage : http://www.sjbaker.org Projects : http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net http://prettypoly.sf.net -----BEGIN GEEK CODE BLOCK----- GCS d-- s:+ a+ C++++$ UL+++$ P--- L++++$ E--- W+++ N o+ K? w--- !O M- V-- PS++ PE- Y-- PGP-- t+ 5 X R+++ tv b++ DI++ D G+ e++ h--(-) r+++ y++++ -----END GEEK CODE BLOCK----- |