summaryrefslogtreecommitdiff
path: root/usr.bin/which
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2005-11-22 11:54:54 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2005-11-22 11:54:54 +0000
commitd512dcc09f9c237dc309d0f3809bb03918b24c35 (patch)
tree13ec6625a90a1fff848e52f928da3e136993a318 /usr.bin/which
parent5ebfeb516ed416f744a705daa0e24286685ce7f2 (diff)
for every sensor esm looks after it has to talk to the hardware, which
means it could busy wait while the hardware gets ready. all the sensors are updated out of a single timeout. doing this for the 30ish esm sensors on my machine is probably not a good thing... this changes the way updates are handled. instead of a single big update for all the sensors, we now update only one sensor in a timeout. after that sensor has been updated it sets up a very short timeout for the next sensor to run out of. we also use the short timeouts to retry the same sensor if the hardware isnt ready which means we avoid the (worst) busy wait.
Diffstat (limited to 'usr.bin/which')
0 files changed, 0 insertions, 0 deletions