]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Replace function _umtx_op with _umtx_op_err, the later function directly
authorDavid Xu <davidxu@FreeBSD.org>
Wed, 2 Apr 2008 07:41:25 +0000 (07:41 +0000)
committerDavid Xu <davidxu@FreeBSD.org>
Wed, 2 Apr 2008 07:41:25 +0000 (07:41 +0000)
commitd6e0eb0a483cdd97dd9dfa85ce02859273e7bd01
tree5dfc9d3bd1ed45091e36de296dea8afc61c26857
parentfadd84c58fd0bbf585fd867008886f5223bf8502
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.
lib/libthr/arch/amd64/Makefile.inc
lib/libthr/arch/amd64/amd64/_umtx_op_err.S [new file with mode: 0644]
lib/libthr/arch/amd64/include/pthread_md.h
lib/libthr/arch/i386/Makefile.inc
lib/libthr/arch/i386/i386/_umtx_op_err.S [new file with mode: 0644]
lib/libthr/arch/i386/include/pthread_md.h
lib/libthr/thread/thr_private.h
lib/libthr/thread/thr_rtld.c
lib/libthr/thread/thr_umtx.c