Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030255AbWJDEuN (ORCPT ); Wed, 4 Oct 2006 00:50:13 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030294AbWJDEuM (ORCPT ); Wed, 4 Oct 2006 00:50:12 -0400 Received: from ug-out-1314.google.com ([66.249.92.174]:1411 "EHLO ug-out-1314.google.com") by vger.kernel.org with ESMTP id S1030255AbWJDEuK (ORCPT ); Wed, 4 Oct 2006 00:50:10 -0400 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=sbsFUTlPuFwm6in0XXYRafNVKg5UXkg6vzq4JoTtyDFLoGjhPLsfJ1c+QhvF/QE9Oz9UyyhEPsLLmEY4asFv9jn3ZeninBK9XyjlNr5kj2j4vVpNfkl//JnUHluB6kg3bRCeIekyQAQpeeYTtwG9ux/dPvBBW+YCmXACsJ19y2U= Message-ID: Date: Tue, 3 Oct 2006 21:50:09 -0700 From: "Ulrich Drepper" To: "Evgeniy Polyakov" Subject: Re: [take19 0/4] kevent: Generic event handling mechanism. Cc: lkml , "David Miller" , "Ulrich Drepper" , "Andrew Morton" , netdev , "Zach Brown" , "Christoph Hellwig" , "Chase Venters" In-Reply-To: <20060927150957.GA18116@2ka.mipt.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <115a6230591036@2ka.mipt.ru> <11587449471424@2ka.mipt.ru> <20060927150957.GA18116@2ka.mipt.ru> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1091 Lines: 19 On 9/27/06, Evgeniy Polyakov wrote: \> I have been told in private what is signal masks about - just to wait > until either signal or given condition is ready, but in that case just > add additional kevent user like AIO complete or netwrok notification > and wait until either requested events are ready or signal is triggered. No, this won't work. Yes, I want signal notification as part of the event handling. But there are situations when this is not suitable. Only if the signal is expected in the same code using the event handling can you do this. But this is not always possible. Especially when the signal handling code is used in other parts of the code than the event handling. E.g., signal handling in a library, event handling in the main code. You cannot assume that all the code is completely integrated. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/