cvs commit: src/lib/libthr/arch/i386/i386 _setcurthread.c src/lib/libthr/thread thr_private.h thr_spinlock.c

Mike Makonnen mtm at FreeBSD.org
Sat Jun 28 17:12:41 PDT 2003


mtm         2003/06/28 17:12:40 PDT

  FreeBSD src repository

  Modified files:
    lib/libthr/arch/i386/i386 _setcurthread.c 
    lib/libthr/thread    thr_private.h thr_spinlock.c 
  Log:
  The move to _retire() a thread in the GC instead of in the thread's
  exit function has invalidated the need for _spin[un]lock_pthread().
  The _spin[un]lock() functions can now dereference curthread without
  the danger that the ldtentry containing the pointer to the thread
  has been cleared out from under them.
  
  Revision  Changes    Path
  1.10      +2 -4      src/lib/libthr/arch/i386/i386/_setcurthread.c
  1.16      +0 -2      src/lib/libthr/thread/thr_private.h
  1.5       +3 -15     src/lib/libthr/thread/thr_spinlock.c


More information about the cvs-all mailing list