cvs commit: src/lib/libpthread/arch/i386/i386 ksd.c src/lib/libpthread/arch/i386/include ksd.h pthread_md.h src/lib/libpthread/arch/ia64 Makefile.inc src/lib/libpthread/arch/ia64/include ksd.h pthread_md.h src/lib/libpthread/thread thr_kern.c thr_private.h

Marcel Moolenaar marcel at FreeBSD.org
Mon Jun 23 16:15:08 PDT 2003


marcel      2003/06/23 16:15:06 PDT

  FreeBSD src repository

  Modified files:
    lib/libpthread/arch/i386/i386 ksd.c 
    lib/libpthread/arch/i386/include ksd.h pthread_md.h 
    lib/libpthread/arch/ia64 Makefile.inc 
    lib/libpthread/arch/ia64/include pthread_md.h 
    lib/libpthread/thread thr_kern.c thr_private.h 
  Added files:
    lib/libpthread/arch/ia64/include ksd.h 
  Log:
  Untangle the inter-dependency of kse types and ksd types/functions
  by moving the definition of struct ksd to pthread_md.h and removing
  the inclusion of ksd.h from thr_private.h (which has the definition
  of struct kse and kse_critical_t). This allows ksd.h to have inline
  functions that use struct kse and kse_critical_t and generally
  yields a cleaner implementation at the cost of not having all ksd
  related types/definitions in one header.
  
  Implement the ksd functionality on ia64 by using inline functions
  and permanently remove ksd.c from the ia64 specific makefile.
  
  This change does not clean up the i386 specific version of ksd.h.
  
  NOTE: The ksd code on ia64 abuses the tp register in the same way
  as it is abused in libthr in that it is incompatible with the
  runtime specification. This will be address when support for TLS
  hits the tree.
  
  Revision  Changes    Path
  1.4       +1 -0      src/lib/libpthread/arch/i386/i386/ksd.c
  1.5       +0 -13     src/lib/libpthread/arch/i386/include/ksd.h
  1.4       +12 -0     src/lib/libpthread/arch/i386/include/pthread_md.h
  1.2       +1 -1      src/lib/libpthread/arch/ia64/Makefile.inc
  1.1       +91 -0     src/lib/libpthread/arch/ia64/include/ksd.h (new)
  1.2       +6 -0      src/lib/libpthread/arch/ia64/include/pthread_md.h
  1.71      +1 -1      src/lib/libpthread/thread/thr_kern.c
  1.90      +0 -1      src/lib/libpthread/thread/thr_private.h


More information about the cvs-src mailing list