No subject
Mon Sep 29 10:58:16 2003
Return-Path: xorp-cvs-admin@icir.org
Delivery-Date: Mon, 29 Sep 2003 10:59:06 -0700
Received: from wyvern.icir.org (wyvern.icir.org [192.150.187.14])
by tigger.icir.org (8.12.9p1/8.12.3) with ESMTP id h8THx5fw051447
for <atanu@tigger.icir.org>; Mon, 29 Sep 2003 10:59:05 -0700 (PDT)
(envelope-from xorp-cvs-admin@icir.org)
Received: from fruitcake.ICSI.Berkeley.EDU (fruitcake.ICSI.Berkeley.EDU [192.150.186.11])
by wyvern.icir.org (8.12.9p1/8.12.3) with ESMTP id h8THx1H5041749;
Mon, 29 Sep 2003 10:59:01 -0700 (PDT)
(envelope-from xorp-cvs-admin@icir.org)
Received: from fruitcake.ICSI.Berkeley.EDU (localhost [127.0.0.1])
by fruitcake.ICSI.Berkeley.EDU (8.12.9/8.12.9) with ESMTP id h8THx1wG000956;
Mon, 29 Sep 2003 10:59:01 -0700 (PDT)
Received: from wyvern.icir.org (wyvern.icir.org [192.150.187.14])
by fruitcake.ICSI.Berkeley.EDU (8.12.9/8.12.9) with ESMTP id h8THwGwG000940
for <xorp-cvs@icsi.berkeley.edu>; Mon, 29 Sep 2003 10:58:16 -0700 (PDT)
Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68])
by wyvern.icir.org (8.12.9p1/8.12.3) with ESMTP id h8THwGH5041743
for <xorp-cvs@icir.org>; Mon, 29 Sep 2003 10:58:16 -0700 (PDT)
(envelope-from hodson@xorpc.icir.org)
Received: from xorpc.icir.org (localhost [127.0.0.1])
by xorpc.icir.org (8.12.9p1/8.12.3) with ESMTP id h8THwGsd060606
for <xorp-cvs@icir.org>; Mon, 29 Sep 2003 10:58:16 -0700 (PDT)
(envelope-from hodson@xorpc.icir.org)
Received: (from hodson@localhost)
by xorpc.icir.org (8.12.9p1/8.12.3/Submit) id h8THwG11060605;
Mon, 29 Sep 2003 10:58:16 -0700 (PDT)
(envelope-from hodson)
From: Orion Hodson <hodson@icir.org>
Message-Id: <200309291758.h8THwG11060605@xorpc.icir.org>
Date: Mon, 29 Sep 2003 10:58:16 ()
To: xorp-cvs@icir.org
Reply-To: hodson@icir.org
Subject: [Xorp-cvs] XORP cvs commit: xorp/libxorp/ selector.cc
Sender: xorp-cvs-admin@icir.org
Errors-To: xorp-cvs-admin@icir.org
X-BeenThere: xorp-cvs@icir.org
X-Mailman-Version: 2.0
Precedence: bulk
List-Help: <mailto:xorp-cvs-request@icir.org?subject=help>
List-Post: <mailto:xorp-cvs@icir.org>
List-Subscribe: <http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs>,
<mailto:xorp-cvs-request@icir.org?subject=subscribe>
List-Id: Mailing list for XORP CVS commit messages <xorp-cvs.icir.org>
List-Unsubscribe: <http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs>,
<mailto:xorp-cvs-request@icir.org?subject=unsubscribe>
CVSROOT: /usr/local/www/data/cvs
Module name: xorp
Repository: xorp/libxorp/
Changes by: hodson@xorpc.icir.org. 03/09/29 10:58:16
Modified files:
xorp/libxorp/: selector.cc
Log message:
Remove EINTR handling around select call. We'll see EINTR after a
signal handler has been invoked. Say we want the signal handler to
clean up and exit, then the existing code gave a non-deterministic
opportunity to do so. In an idle eventloop we'd typically be calling
select with a timeout of zero, get an EINTR, and because of the goto
do select again with a timeout of zero. Unless the signal handler
calls exit() we're potentially blocked forever here.
_______________________________________________
Xorp-cvs mailing list
Xorp-cvs@icir.org
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs