is sysdep-cancel.h needed for any linux arch?

Ulrich Drepper drepper@redhat.com
Sat Jan 4 05:48:00 GMT 2003


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 `---------------------------



More information about the Libc-alpha mailing list