From owner-freebsd-arch@FreeBSD.ORG Mon Jul 7 17:28:26 2008 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 52291106566C; Mon, 7 Jul 2008 17:28:26 +0000 (UTC) (envelope-from babkin@verizon.net) Received: from vms042pub.verizon.net (vms042pub.verizon.net [206.46.252.42]) by mx1.freebsd.org (Postfix) with ESMTP id 3149A8FC23; Mon, 7 Jul 2008 17:28:26 +0000 (UTC) (envelope-from babkin@verizon.net) Received: from vms227.mailsrvcs.net ([172.18.12.133]) by vms042.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0K3N003O0CITD522@vms042.mailsrvcs.net>; Mon, 07 Jul 2008 12:28:05 -0500 (CDT) Received: from 65.242.108.162 ([65.242.108.162]) by vms227.mailsrvcs.net (Verizon Webmail) with HTTP; Mon, 07 Jul 2008 12:28:05 -0500 (CDT) Date: Mon, 07 Jul 2008 12:28:05 -0500 (CDT) From: Sergey Babkin X-Originating-IP: [65.242.108.162] To: Sergey Babkin , Coleman Kane Message-id: <22302744.211651215451685258.JavaMail.root@vms227.mailsrvcs.net> MIME-version: 1.0 Content-type: text/plain; charset=UTF-8 Content-transfer-encoding: 7bit Cc: arch@freebsd.org, Poul-Henning Kamp Subject: Re: Re: Re: Proposal: a revoke() system call X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jul 2008 17:28:26 -0000 >> My thinking has been that if close() wakes them up, then things would be >> inherited from there. The thing I didn't know is that apparently in many cases close() >> doesn't wake them up. >> >> -SB >> > >In cases where I need to wake the select() up immediately for cases such >as this, I've implemented a "trigger pipe" that I include on the select >list. This is a simple pipe, that is written to by the application in Yep, This is the design I'm trying to avoid :-) -SB