commit-hurd
[Top][All Lists]
Advanced

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

[SCM] Hurd branch, master, updated. hurd-release-0-2-3457-g7648503


From: Samuel Thibault
Subject: [SCM] Hurd branch, master, updated. hurd-release-0-2-3457-g7648503
Date: Sat, 24 Nov 2012 17:47:15 +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 "Hurd".

The branch, master has been updated
       via  7648503cd894549874ff13f7ed94a4708cf50f0d (commit)
      from  b2d57eb33ddd8f24929f372bfb08bac3a29ac6ea (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 7648503cd894549874ff13f7ed94a4708cf50f0d
Author: Richard Braun <address@hidden>
Date:   Mon Sep 3 15:47:25 2012 +0200

    Remove condition implications
    
    There is no equivalent for these functions in libpthread. Instead of
    adding them as non standard extensions, rework their use.
    
    * console-client/kbd-repeat.c (kbd_repeat_key): Wake threads waiting on
    select_alert.
    (kbd_setrepeater): Remove call to condition_implies.
    console-client/pc-mouse.c (repeat_event): Wake threads waiting on
    select_alert.
    (setrepeater):  Remove call to condition_implies.
    * libpipe/pipe.c (pipe_create): Initialize the `pending_selects' member.
    (pipe_add_select_cond): New function.
    (pipe_remove_select_cond): Likewise.
    (pipe_select_cond_broadcast): Likewise.
    (_pipe_no_readers): Wake threads waiting on a pending select.
    (_pipe_no_writers): Likewise.
    (pipe_send): Likewise.
    (pipe_recv): Likewise.
    (pipe_pair_select): Replace condition implications by installing a pending
    select on the pair of pipes.
    * libpipe/pipe.h (struct pipe_select_cond): New type.
    (struct pipe): New member `pending_selects'.
    * pfinet/tunnel.c (tunnel_xmit): Wake threads waiting on tdev->select_alert.
    (setup_tunnel_device): Remove call to condition_implies.
    * term/devio.c (device_write_reply_inband): Wake threads waiting on
    select_alert.
    * term/hurdio.c (hurdio_writer_loop): Likewise.
    * term/main.c (main): Remove calls to condition_implies.
    * term/ptyio.c (ptyio_init): Remove calls to condition_implies, initialize
    pty_select_alert.
    (wake_reader): Wake threads waiting on pty_select_wakeup.
    * term/term.h (pty_select_alert): New variable.
    (clear_queue): Wake threads waiting on select_alert and, if acting on the
    input queue, pty_select_alert, unless it's NULL.
    (dequeue_quote): Likewise.
    (enqueue_internal): Likewise.
    (queue_erase): Likewise.
    * trans/streamio.c (clear_buffer): Wake threads waiting on select_alert.
    (buffer_read): Likewise.
    (buffer_write): Likewise.
    (device_read_reply_inband): Likewise.
    (device_write_reply_inband): Likewise.
    (main): Remove calls to condition_implies.

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

Summary of changes:
 console-client/kbd-repeat.c |    3 +-
 console-client/pc-mouse.c   |    3 +-
 libpipe/pipe.c              |   89 ++++++++++++++++++++++++++++++++++++-------
 libpipe/pipe.h              |    9 ++++
 pfinet/tunnel.c             |    2 +-
 term/devio.c                |    1 +
 term/hurdio.c               |    1 +
 term/main.c                 |    2 -
 term/ptyio.c                |    4 +-
 term/term.h                 |   25 +++++++++++-
 trans/streamio.c            |   15 +++----
 11 files changed, 120 insertions(+), 34 deletions(-)


hooks/post-receive
-- 
Hurd



reply via email to

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