cvs commit: src/lib/libpthread/arch/ia64/include pthread_md.h

Marcel Moolenaar marcel at FreeBSD.org
Wed Jun 25 20:55:59 PDT 2003


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


More information about the cvs-src mailing list