From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 7 16:48:04 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 03B59106566B for ; Fri, 7 Mar 2008 16:48:04 +0000 (UTC) (envelope-from dudu@dudu.ro) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.190]) by mx1.freebsd.org (Postfix) with ESMTP id 957ED8FC1D for ; Fri, 7 Mar 2008 16:48:03 +0000 (UTC) (envelope-from dudu@dudu.ro) Received: by fk-out-0910.google.com with SMTP id b27so464058fka.11 for ; Fri, 07 Mar 2008 08:48:02 -0800 (PST) Received: by 10.82.171.16 with SMTP id t16mr3573664bue.25.1204908481536; Fri, 07 Mar 2008 08:48:01 -0800 (PST) Received: by 10.82.185.8 with HTTP; Fri, 7 Mar 2008 08:47:56 -0800 (PST) Message-ID: Date: Fri, 7 Mar 2008 18:47:56 +0200 From: "Vlad GALU" To: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: A (perhaps silly) kqueue question X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Mar 2008 16:48:04 -0000 I see an unusual symptom with one of our in-house applications. The main I/O loop calls kevent(), which in turn returns two events with EV_EOF error set, always for the same descriptors (they're both socket descriptors). As the man page is not pretty clear about it and I don't have my UNP copy at hand, I would like to ask the list whether the error events are supposed to be one-shot or not. Thanks for your kind input. -- Mahnahmahnah!