commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] glibc maintenance branch, rbraun/io_select_timeout_v4, created. gl


From: Richard Braun
Subject: [SCM] glibc maintenance branch, rbraun/io_select_timeout_v4, created. glibc-2.16-ports-merge-3811-g3612d6d
Date: Tue, 26 Feb 2013 23:50:07 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "glibc maintenance".

The branch, rbraun/io_select_timeout_v4 has been created
        at  3612d6de10ff0d2cd8138f2f7792715ea8e22815 (commit)

- Log -----------------------------------------------------------------
commit 3612d6de10ff0d2cd8138f2f7792715ea8e22815
Author: Richard Braun <address@hidden>
Date:   Wed Feb 27 00:46:11 2013 +0100

    Fix timeout handling in _hurd_select
    
    Rely on servers to implement timeouts, so that very short values (including
    0) don't make mach_msg return before valid replies can be received. The
    purpose of this scheme is to guarantee a full client-server round-trip,
    whatever the timeout value.
    
    This change depends on the new io_select_timeout RPC being implemented by
    servers.
    
    * hurd/Makefile (user-interfaces): Add io_reply and io_request.
    * hurd/hurdselect.c: Include <sys/time.h>, <hurd/io_request.h> and 
<limits.h>.
    (_hurd_select): Replace the call to __io_select with either 
__io_select_request
    or __io_select_timeout_request, depending on the timeout. Count the number 
of
    ready descriptors (replies for which at least one type bit is set). 
Implement
    the timeout locally when there is no file descriptor.

-----------------------------------------------------------------------


hooks/post-receive
-- 
glibc maintenance



reply via email to

[Prev in Thread] Current Thread [Next in Thread]