From owner-freebsd-threads@FreeBSD.ORG Tue Jun 17 16:57:08 2003 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA69E37B401 for ; Tue, 17 Jun 2003 16:57:08 -0700 (PDT) Received: from hqemgate00.nvidia.com (hqemgate00.nvidia.com [216.228.112.144]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3329143F93 for ; Tue, 17 Jun 2003 16:57:06 -0700 (PDT) (envelope-from ARitger@nvidia.com) Received: from mail-sc-0.nvidia.com (Not Verified[172.16.217.105]) id ; Tue, 17 Jun 2003 16:59:44 -0700 Received: by mail-sc-0.nvidia.com with Internet Mail Service (5.5.2653.19) id ; Tue, 17 Jun 2003 16:56:21 -0700 Received: from nvidia.com (BERNSTEIN [172.16.224.128]) by mail-sc-0.nvidia.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id MJR3XJRQ; Tue, 17 Jun 2003 16:56:20 -0700 From: Andy Ritger To: Julian Elischer Date: Tue, 17 Jun 2003 20:29:17 -0400 (EDT) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Alexander Kabaev cc: zander@mail.minion.de cc: Gareth Hughes cc: threads@freebsd.org cc: 'Daniel Eischen' Subject: RE: NVIDIA and TLS X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jun 2003 23:57:09 -0000 On Tue, 17 Jun 2003, Julian Elischer wrote: > > > On Tue, 17 Jun 2003, Gareth Hughes wrote: > > > Terry Lambert wrote: > > > > > > [a lot of stuff] > > Gareth, thanks for puting up with us and showing considerable patience. And thanks for putting up with Gareth ;) > I think we can make an 'efficient (though possibly not quite the 1 > instruction possible in a static linked linux binary) __thread > implimentation. Sure. > We can possibly do 1 instruction in the 1:1 library but that would leave > binary compatibility with the other libraries out the window. I'll try to keep on eye on the technical discussion (looks like it moved to current@freebsd.org), but please keep us in the loop. For the short term, I'll probably leave the NVIDIA libGL as is (hijacking %gs), and document it as such in our README. Once the TLS decisions are worked out on FreeBSD, we'll propogate the appropriate changes to the NVIDIA OpenGL driver. Thanks, - Andy > I think that it is a pitty that the openGL ABI doesn't carry around a > 'context' argument on all calls but it's not going to change and > we have to use what is there. > > Julian > > >