Tweak handling of the thread timer so that it is set only when needed.
authorChris Hanson <org/chris-hanson/cph>
Mon, 14 Jan 2008 03:14:10 +0000 (03:14 +0000)
committerChris Hanson <org/chris-hanson/cph>
Mon, 14 Jan 2008 03:14:10 +0000 (03:14 +0000)
commitf749d1dae401e0e59a88cbaf1466a478e3bb7b24
tree75622cd8348a907432b754f330d1ac96928cfc50
parent6d31a16652ec7e840df3e7f2f563518ee61802b6
Tweak handling of the thread timer so that it is set only when needed.
This saves power by avoiding unnecessary interrupts, and additionally
saves computation.
v7/src/runtime/thread.scm