This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: is sysdep-cancel.h needed for any linux arch?
Franz Sirl wrote:
> So, my initial version seems to work in the pthread case, but in the libc case
> it crashes in __libc_enable_asynccancel while calling
> (*__libc_pthread_functions.ptr_pthread_thread_self)() which is zero. As this
> happens still during library init, who is responsible for initing the
> __libc_pthread_functions struct with the proper values?
See linuxthreads/libc_pthread_init.c. The function gets the array
passed in and it makes a copy.
--
--------------. ,-. 444 Castro Street
Ulrich Drepper \ ,-----------------' \ Mountain View, CA 94041 USA
Red Hat `--' drepper at redhat.com `---------------------------