diff options
author | 2017-02-14 10:31:15 +0000 | |
---|---|---|
committer | 2017-02-14 10:31:15 +0000 | |
commit | 9b1ed563285ff6714aac11bdd1309d0fca487c3e (patch) | |
tree | f8fbb5d864dfee931bdb871f570fea563918f0f1 /usr.bin/tmux/cmd-source-file.c | |
parent | Get rid of recursive splsoftnet()/splx() dances and convert a timeout to (diff) | |
download | wireguard-openbsd-9b1ed563285ff6714aac11bdd1309d0fca487c3e.tar.xz wireguard-openbsd-9b1ed563285ff6714aac11bdd1309d0fca487c3e.zip |
Convert most of the manual checks for CPU hogging to sched_pause().
The distinction between preempt() and yield() stays as it is usueful
to know if a thread decided to yield by itself or if the kernel told
him to go away.
ok tedu@, guenther@
Diffstat (limited to 'usr.bin/tmux/cmd-source-file.c')
0 files changed, 0 insertions, 0 deletions