From owner-cvs-all Tue Oct 15 15:29: 0 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EEE1F37B401; Tue, 15 Oct 2002 15:28:59 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9FE9443E4A; Tue, 15 Oct 2002 15:28:59 -0700 (PDT) (envelope-from iedowse@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id g9FMSxMt014503; Tue, 15 Oct 2002 15:28:59 -0700 (PDT) (envelope-from iedowse@repoman.freebsd.org) Received: (from iedowse@localhost) by repoman.freebsd.org (8.12.6/8.12.3/Submit) id g9FMSxCx014502; Tue, 15 Oct 2002 15:28:59 -0700 (PDT) Message-Id: <200210152228.g9FMSxCx014502@repoman.freebsd.org> From: Ian Dowse Date: Tue, 15 Oct 2002 15:28:59 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/rpc clnt_dg.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG iedowse 2002/10/15 15:28:59 PDT Modified files: lib/libc/rpc clnt_dg.c Log: Use kqueue(2) instead of poll(2) to wait for replies and timeouts in the UDP RPC client code. As a side-effect, this fixes some bugs that might prevent the RPC call from ever timing out for example if the server keeps responding with the wrong xid. This could probably be simplified further by using the EVFILT_TIMER filter. Revision Changes Path 1.15 +90 -158 src/lib/libc/rpc/clnt_dg.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message