Date: Wed, 25 Jun 2003 20:55:58 -0700 (PDT) From: Marcel Moolenaar <marcel@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libpthread/arch/ia64/include pthread_md.h Message-ID: <200306260355.h5Q3twp9080180@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marcel 2003/06/25 20:55:58 PDT
FreeBSD src repository
Modified files:
lib/libpthread/arch/ia64/include pthread_md.h
Log:
Implement _thr_enter_uts() and _thr_switch() as inline functions to
minimize the amount and complexity of assembly code that needs to be
written. This way the core functionality is spread over 3 elementary
functions that don't have to do anything that can more easily and
more safely be done in C. As such, assembly code will only have to
know about the definition of mcontext_t.
The runtime cost of not having these functions being inlined is less
important than the cleanliness and maintainability of the code at
this stage of the implementation.
Revision Changes Path
1.3 +30 -0 src/lib/libpthread/arch/ia64/include/pthread_md.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306260355.h5Q3twp9080180>
