rstone ad032fccda 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
..
2012-04-20 21:37:42 +00:00
2012-04-23 23:05:14 +00:00
2012-04-23 16:35:19 +00:00
2012-04-20 21:37:42 +00:00
2012-04-21 01:51:16 +00:00
2012-02-28 15:07:05 +00:00
2012-04-22 04:36:25 +00:00
2012-04-16 10:33:46 +00:00
2012-04-17 00:54:38 +00:00