diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-02-11 00:05:11 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-02-11 00:05:11 +0100 |
commit | c7d393224edd7c9b87fbececed363ab473d27786 (patch) | |
tree | 93eabae167b36dac9692cba2271d55fb29f76840 /.topmsg | |
parent | 4a7fa7e43dfa3910664c02af588955137524c6ea (diff) |
Fix _hurd_select for single fd sets
The function attempts to optimize this case by performing one IPC system call
with the timeout included among the parameters, but in the absence of a reply,
it will call mach_msg again with the same timeout later, effectively doubling
the total timeout of the select/poll call.
Remove this optimization for the time being.
* hurd/hurdselect.c (_hurd_select): Always call __io_select with no timeout.
Diffstat (limited to '.topmsg')
-rw-r--r-- | .topmsg | 29 |
1 files changed, 13 insertions, 16 deletions
@@ -1,16 +1,13 @@ -Subject: Baseline for our topic branches. - ---- - -This need not strictly be a TopGit branch, but it is for easy synchronization -between different machines. - -As the baseline is merged into the topic branches, it is forward-only. - -To advance it: - - $ echo [SHA1] > .topdeps - $ git commit -m Advance. -- .topdeps - $ tg update - ---- +From: Richard Braun <rbraun@sceen.net> +Date: Mon Dec 17 09:57:41 2012 +0000 + + Fix _hurd_select for single fd sets + + The function attempts to optimize this case by performing one IPC system call + with the timeout included among the parameters, but in the absence of a reply, + it will call mach_msg again with the same timeout later, effectively doubling + the total timeout of the select/poll call. + + Remove this optimization for the time being. + + * hurd/hurdselect.c (_hurd_select): Always call __io_select with no timeout. |