some small patches

From: Julian Elischer <julian_at_elischer.org>
Date: Thu, 17 Apr 2003 16:26:52 -0700 (PDT)
Here are two small patches they are pretty non-controversial in my
opinion.

they are part of a bigger patch, but I'd like to get them in separatly
to simplify the bigger one.
the first patch:
http://www.freebsd.org/~julian/IDLETD.diff
moves the flag that identifies a thread as being one of the idle threads
from the KSE to the thread. The code that wants to know already
has a thread pointer, but not the KSE pointer so this makes more sense.


The second patch:
http://www.freebsd.org/~julian/sched_clock.diff
makes the sched_ API entrypoint sched_clock()
take a thread argument instead of a KSE.
Once again, the callers have the thread pointer and not the KSE pointer,
and in fact they probably should not have the KSE pointer.


anyone object to these patches?
Received on Thu Apr 17 2003 - 14:26:56 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:03 UTC