This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] linuxthreads pthread_cond_t


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]