From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5106 invoked by alias); 2 Jan 2003 19:43:38 -0000 Mailing-List: contact libc-hacker-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sources.redhat.com Received: (qmail 5081 invoked from network); 2 Jan 2003 19:43:37 -0000 Received: from unknown (HELO sunsite.mff.cuni.cz) (195.113.19.66) by 209.249.29.67 with SMTP; 2 Jan 2003 19:43:37 -0000 Received: (from jakub@localhost) by sunsite.mff.cuni.cz (8.11.6/8.11.6) id h02JhIH27019; Thu, 2 Jan 2003 20:43:18 +0100 Date: Thu, 02 Jan 2003 19:43:00 -0000 From: Jakub Jelinek To: Roland McGrath Cc: Ulrich Drepper , Glibc hackers Subject: Re: [PATCH] linuxthreads pthread_cond_t Message-ID: <20030102204317.H1218@sunsite.ms.mff.cuni.cz> Reply-To: Jakub Jelinek References: <20030102190242.G1218@sunsite.ms.mff.cuni.cz> <200301021937.h02Jb8l14576@magilla.sf.frob.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <200301021937.h02Jb8l14576@magilla.sf.frob.com>; from roland@redhat.com on Thu, Jan 02, 2003 at 11:37:08AM -0800 X-SW-Source: 2003-01/txt/msg00009.txt.bz2 On Thu, Jan 02, 2003 at 11:37:08AM -0800, Roland McGrath wrote: > This doesn't help existing binaries where pthread_cond_t may be allocated > without sufficient alignment for NPTL. Why? The old pthread_cond_t (accessed through pthread_cond_*@GLIBC_2.0) does not have this alignment requirement (and is much smaller too). old_pthread_cond* wrap this by mallocing/freeing the new pthread_cond_t and storing the pointer to it into the old pthread_cond_t. Jakub