From owner-freebsd-threads@FreeBSD.ORG Mon Jun 16 16:31:25 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 148AB37B401 for ; Mon, 16 Jun 2003 16:31:25 -0700 (PDT) Received: from hqemgate00.nvidia.com (hqemgate00.nvidia.com [216.228.112.144]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2EE7343FAF for ; Mon, 16 Jun 2003 16:31:24 -0700 (PDT) (envelope-from gareth@nvidia.com) Received: from mail-sc-0.nvidia.com (Not Verified[172.16.217.105]) id ; Mon, 16 Jun 2003 16:34:11 -0700 Received: by mail-sc-0.nvidia.com with Internet Mail Service (5.5.2653.19) id ; Mon, 16 Jun 2003 16:30:50 -0700 Message-ID: <2D32959E172B8F4D9B02F68266BE421401A6D7E1@mail-sc-3.nvidia.com> From: Gareth Hughes To: 'Daniel Eischen' , Julian Elischer Date: Mon, 16 Jun 2003 16:30:49 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain cc: threads@freebsd.org cc: zander@mail.minion.de cc: Andy Ritger 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: Mon, 16 Jun 2003 23:31:25 -0000 On Mon, 16 Jun 2003, Daniel Eischen wrote: > > Right. It just seems wrong to me to be able to insert __thread > after every global variable in a library and instantly make > it thread-safe. Why, exactly? Surely, from a programming point of view, this is exactly what you want -- a transparent way to access your thread local data. -- Gareth Hughes (gareth@nvidia.com) OpenGL Developer, NVIDIA Corporation