Date: Sat, 28 Jun 2003 17:12:40 -0700 (PDT) From: Mike Makonnen <mtm@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libthr/arch/i386/i386 _setcurthread.c src/lib/libthr/thread thr_private.h thr_spinlock.c Message-ID: <200306290012.h5T0Ceg9054991@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306290012.h5T0Ceg9054991>
