Date: Wed, 21 May 2003 01:21:24 -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 Message-ID: <200305210821.h4L8LOhr000926@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
mtm 2003/05/21 01:21:24 PDT
FreeBSD src repository
Modified files:
lib/libthr/arch/i386/i386 _setcurthread.c
Log:
o Make the defenition of _set_curthread() match its declaration
in thr_private.h
o Lock down the ldt_entries array and ldt_free, which points to
the next free slot. As noted in the comments, it's necessary
to special case the initial_thread because %gs is not setup
for it yet. This is ok because that early in the program there
won't be any reentrancy issues anyways.
Approved by: re/blanket libthr
Revision Changes Path
1.5 +27 -5 src/lib/libthr/arch/i386/i386/_setcurthread.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305210821.h4L8LOhr000926>
