[PATCH] linuxthreads pthread_cond_t
Jakub Jelinek
jakub@redhat.com
Thu Jan 2 19:43:00 GMT 2003
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
More information about the Libc-hacker
mailing list