Issue on pthread.h.

Carmelo AMOROSO carmelo.amoroso at st.com
Tue Jul 31 09:20:23 UTC 2007


Carmelo Amoroso wrote:
> On 26/07/07, Filippo ARCIDIACONO <filippo.arcidiacono at st.com> wrote:
>   
>> Hi all,
>> libpthread/nptl/sysdeps/pthread/pthread.h includes <setjmp.h> instead of
>> <bits/setjmp.h> (as glibc does).
>> Is there a specific reason?
>>     
> Yes,
> include/setjmp.h needs to include features.h just before including
> bits/setjmp.h itself.
> I suggest to look better at the code
>
> Regards,
> Carmelo
>   
I looked at it better :-), and yes, bits/setjmp.h can be safely included 
from pthread.h.
This is in synch with the glibc code, so Filippo is right ;-)

Carmelo

> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://busybox.net/cgi-bin/mailman/listinfo/uclibc
>
>   




More information about the uClibc mailing list