Date: Thu, 10 Oct 2002 14:14:23 -0700 (PDT) From: Archie Cobbs <archie@dellroad.org> To: Andreas Kohn <andreas.kohn@gmx.net> Cc: freebsd-stable@FreeBSD.org Subject: Re: XFree86 and threads Message-ID: <200210102114.g9ALEOvV013875@arch20m.dellroad.org> In-Reply-To: <1033932529.84206.49.camel@klamath.ankon.homeip.net> "from Andreas Kohn at Oct 6, 2002 09:28:48 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
Andreas Kohn writes: > > xc/xc/lib/GL/glx directory of XFree86 source distribution. Right there, > > xthread_key_create() function, that is in turn actually > > pthread_key_create(), doesn't properly create thread key that should be > > used to store rendering context with thread. When trying to get > > rendering context using this key later in code, no valid context is > > retrieved and GLX requests are not propagated to server. Strange is that > > pthread_key_create() returns 0, i.e. success indicator. Now, got two > > questions: > > > > 1. Is anywhere in documentation mentioned that OpenGL programs > > (actually, all X11 programs) have to be linked with libc_r (I wasn't > > able to found something alike)? > > 2. Is above pthread_key_create() behavior a bug? I'm interested in the supposed pthread_key_create() bug but don't exactly understand it. Can you write up a simple test program that demonstrates the bug? -Archie __________________________________________________________________________ Archie Cobbs * Packet Design * http://www.packetdesign.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210102114.g9ALEOvV013875>