cvs commit: src/lib/libthr/arch/amd64 Makefile.inc src/lib/libthr/arch/amd64/include pthread_md.h src/lib/libthr/arch/i386 Makefile.inc src/lib/libthr/arch/i386/include pthread_md.h src/lib/libthr/thread thr_private.h thr_rtld.c thr_umtx.c ...

David Xu davidxu at FreeBSD.org
Thu Apr 3 01:48:11 UTC 2008


Marcel Moolenaar wrote:
> 
> On Apr 2, 2008, at 12:41 AM, David Xu wrote:
>> davidxu     2008-04-02 07:41:25 UTC
>>
>>  FreeBSD src repository
>>
>>  Modified files:
>>    lib/libthr/arch/amd64 Makefile.inc
>>    lib/libthr/arch/amd64/include pthread_md.h
>>    lib/libthr/arch/i386 Makefile.inc
>>    lib/libthr/arch/i386/include pthread_md.h
>>    lib/libthr/thread    thr_private.h thr_rtld.c thr_umtx.c
>>  Added files:
>>    lib/libthr/arch/amd64/amd64 _umtx_op_err.S
>>    lib/libthr/arch/i386/i386 _umtx_op_err.S
>>  Log:
>>  Replace function _umtx_op with _umtx_op_err, the later function directly
>>  returns errno, because errno can be mucked by user's signal handler and
>>  most of pthread api heavily depends on errno to be correct, this change
>>  should improve stability of the thread library.
> 
> Doesn't this also apply to !i386 & !amd64?
> 

Marcel, you are welcomed to improve it since I only know x86.

Regards,



More information about the cvs-src mailing list