aboutsummaryrefslogtreecommitdiff
path: root/src/lib9
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2014-06-03 00:09:29 -0400
committerRuss Cox <rsc@swtch.com>2014-06-03 00:09:29 -0400
commit6400c9f20c3cdab491cd2aec29cfd2ae632d5046 (patch)
treefaeb3ce7c3a686159b7bc531b156a610b56476c4 /src/lib9
parent113ea95f7b3b8f2af5e57214fe752c187d35aa19 (diff)
downloadplan9port-6400c9f20c3cdab491cd2aec29cfd2ae632d5046.tar.gz
plan9port-6400c9f20c3cdab491cd2aec29cfd2ae632d5046.tar.bz2
plan9port-6400c9f20c3cdab491cd2aec29cfd2ae632d5046.zip
acme: increase timer resolution to 10ms
We ran for a long time with 10ms kernel resolution, so 10ms user space resolution here should be fine. Some systems actually provide 1ms sleeps, which makes this polling use a bit more cpu than we'd like. Since the timers are for user-visible things, 10ms should still be far from noticeable. Reduces acme's cpu usage on Macs when plumber is missing (and plumbproc is sleeping waiting for it to appear). LGTM=aram, r R=r, aram https://codereview.appspot.com/99570043
Diffstat (limited to 'src/lib9')
0 files changed, 0 insertions, 0 deletions