summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_km.h
diff options
context:
space:
mode:
authorcheloha <cheloha@cvs.openbsd.org>2020-01-23 01:43:18 +0000
committercheloha <cheloha@cvs.openbsd.org>2020-01-23 01:43:18 +0000
commit9f29dc4b16d65a6895a292dd77ef8612a4f22f52 (patch)
treeb9e995a0d207a013c4dc78f89e4c3e75ec9c6dfe /sys/uvm/uvm_km.h
parent6a3c50c57e648d5a68b6fc3a95c3160f11c72c3f (diff)
ciss(4): tsleep(9) -> tsleep_nsec(9)
"i" is a count of milliseconds. We convert it to a starting interval "ts" and determine our absolute timeout "end". Then we loop through until the poll is successful or "end" elapses. This could be simplified with an absolute timeout interface for tsleep(9) but alas, we don't have one yet. ok krw@
Diffstat (limited to 'sys/uvm/uvm_km.h')
0 files changed, 0 insertions, 0 deletions