1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00
freebsd/cddl
Ryan Stone c6024848dd Implement the D "cpu" variable, which returns curcpu. I have chosen not
to follow the example of OpenSolaris and its descendants, which implemented
cpu as an inline that took a value out of curthread.  At certain points in
the FreeBSD scheduler curthread->td_oncpu will no longer be valid (in
particukar, just before the thread gets descheduled) so instead I have
implemented this as its own built-in variable.

Sponsored by:	Sandvine Inc.
MFC after:	1 week
2012-04-26 01:07:03 +00:00
..
compat/opensolaris Remove C constructs that are incompatible with C++ from various 2011-06-10 20:10:30 +00:00
contrib Implement the D "cpu" variable, which returns curcpu. I have chosen not 2012-04-26 01:07:03 +00:00
lib Enable build of DTrace-related userland parts for MIPS 2012-03-24 05:29:07 +00:00
sbin For now, remove MANFILTER from ZFS manpages (bad effect on html output). 2011-11-21 14:50:17 +00:00
usr.bin For now, remove MANFILTER from ZFS manpages (bad effect on html output). 2011-11-21 14:50:17 +00:00
usr.sbin Enable build of DTrace-related userland parts for MIPS 2012-03-24 05:29:07 +00:00
Makefile
Makefile.inc Do not lint code beyond necessity (with apologies to Wiliam of Ockham). 2010-11-18 16:32:52 +00:00