From owner-freebsd-stable Thu Oct 10 14:30:13 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E5DA837B401 for ; Thu, 10 Oct 2002 14:30:11 -0700 (PDT) Received: from InterJet.dellroad.org (adsl-63-194-81-26.dsl.snfc21.pacbell.net [63.194.81.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3818A43EB2 for ; Thu, 10 Oct 2002 14:30:11 -0700 (PDT) (envelope-from archie@dellroad.org) Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.1.1.20]) by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id OAA72052; Thu, 10 Oct 2002 14:15:33 -0700 (PDT) Received: from arch20m.dellroad.org (localhost [127.0.0.1]) by arch20m.dellroad.org (8.12.6/8.12.6) with ESMTP id g9ALEOON013876; Thu, 10 Oct 2002 14:14:24 -0700 (PDT) (envelope-from archie@arch20m.dellroad.org) Received: (from archie@localhost) by arch20m.dellroad.org (8.12.6/8.12.6/Submit) id g9ALEOvV013875; Thu, 10 Oct 2002 14:14:24 -0700 (PDT) From: Archie Cobbs Message-Id: <200210102114.g9ALEOvV013875@arch20m.dellroad.org> Subject: Re: XFree86 and threads In-Reply-To: <1033932529.84206.49.camel@klamath.ankon.homeip.net> "from Andreas Kohn at Oct 6, 2002 09:28:48 pm" To: Andreas Kohn Date: Thu, 10 Oct 2002 14:14:23 -0700 (PDT) Cc: freebsd-stable@FreeBSD.org X-Mailer: ELM [version 2.4ME+ PL88 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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