diff options
author | Jonathan Matthew <jmatthew@cvs.openbsd.org> | 2016-05-26 06:59:43 +0000 |
---|---|---|
committer | Jonathan Matthew <jmatthew@cvs.openbsd.org> | 2016-05-26 06:59:43 +0000 |
commit | d0aac4b16ed89db12442240bf224fc84f2f42542 (patch) | |
tree | 8292b9e7b9004b62448a9491bf0bdf2f1465af63 /usr.bin/tmux | |
parent | 5f30e38307a739ee0c5007da43a56fb1270660fe (diff) |
Calculate elapsed time in poll() and subtract that from the remaining time
when restarting poll() after receiving a signal.
The ruby runtime send signals to threads periodically, so without accounting
for elapsed time, the timeout would never expire if we didn't get a response
from a nameserver.
ok deraadt@ eric@
Diffstat (limited to 'usr.bin/tmux')
0 files changed, 0 insertions, 0 deletions