From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19034 invoked by alias); 29 Aug 2003 19:30:31 -0000 Mailing-List: contact pthreads-win32-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: pthreads-win32-owner@sources.redhat.com Received: (qmail 19015 invoked from network); 29 Aug 2003 19:30:30 -0000 Received: from unknown (HELO d12lmsgate.de.ibm.com) (194.196.100.238) by sources.redhat.com with SMTP; 29 Aug 2003 19:30:30 -0000 Received: from d12relay01.megacenter.de.ibm.com (d12relay01.megacenter.de.ibm.com [9.149.165.180]) by d12lmsgate.de.ibm.com (8.12.9/8.12.8) with ESMTP id h7TJUSYG043814; Fri, 29 Aug 2003 21:30:28 +0200 Received: from d12ml007.de.ibm.com (d12av02.megacenter.de.ibm.com [9.149.165.228]) by d12relay01.megacenter.de.ibm.com (8.12.9/NCO/VER6.6) with ESMTP id h7TJUZRK155384; Fri, 29 Aug 2003 21:30:35 +0200 In-Reply-To: <3F4E0CB7.2090404@tfs.ac.za> Importance: Normal MIME-Version: 1.0 Sensitivity: To: pkruger@tfs.ac.za Cc: pthreads-win32@sources.redhat.com Subject: Re: Help with TSD (OT?) Message-ID: From: "Alexander Terekhov" Date: Fri, 29 Aug 2003 19:30:00 -0000 Content-Type: text/plain; charset="US-ASCII" X-SW-Source: 2003/txt/msg00078.txt.bz2 Pieter Kruger wrote: [...] > I understand the principal of TSD and how to use it, just not why one > would want to use it :-) A sort of "illustration" can be found here: http://groups.google.com/groups?selm=3ECA3A27.C06CBB62%40web.de regards, alexander. Please respond to pkruger@tfs.ac.za Sent by: pthreads-win32-owner@sources.redhat.com To: pthreads-win32@sources.redhat.com cc: Subject: Help with TSD (OT?) Hi Sorry if this is an OT post, but I am new to pthreads, and I am running into problems with thread specific data. I am working through the book "Multithreaded Programming with Pthreads", but I do not really understand the use of TSD. Where would one want to use TSD? I understand the principal of TSD and how to use it, just not why one would want to use it :-) Thank you! Pieter Kruger ----------------------------------------------------------------- This e-mail is subjected to the disclaimer that can be viewed at: * http://www.tfs.ac.za/www/disclaimer/email_disclaimer -----------------------------------------------------------------