Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 23 Oct 2002 17:17:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 23 Oct 2002 17:17:52 -0400 Received: from mtao-m02.ehs.aol.com ([64.12.52.8]:41198 "EHLO mtao-m02.ehs.aol.com") by vger.kernel.org with ESMTP id ; Wed, 23 Oct 2002 17:17:51 -0400 Date: Wed, 23 Oct 2002 14:23:58 -0700 From: John Gardiner Myers Subject: Re: async poll In-reply-to: To: Dan Kegel Cc: linux-aio , linux-kernel Message-id: <3DB7136E.8090205@netscape.com> MIME-version: 1.0 Content-type: multipart/signed; boundary=------------ms070304080907030903020303; micalg=sha1; protocol="application/x-pkcs7-signature" X-Accept-Language: en-us, en User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2b) Gecko/20021016 References: <3DB7083E.5030206@netscape.com> <3DB70D4C.4070802@kegel.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 6090 Lines: 101 This is a cryptographically signed message in MIME format. --------------ms070304080907030903020303 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Dan Kegel wrote: > In that situation, why not just add the fd to an epoll, and have the > epoll deliver events through Ben's interface? Because you might need to use the aio_data facility of the iocb interface. Because you might want to keep the kernel from simultaneously delivering two events for the same fd to two different threads. --------------ms070304080907030903020303 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIK7TCC A4UwggLuoAMCAQICAlvfMA0GCSqGSIb3DQEBBAUAMIGTMQswCQYDVQQGEwJVUzELMAkGA1UE CBMCQ0ExFjAUBgNVBAcTDU1vdW50YWluIFZpZXcxGzAZBgNVBAoTE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xJzAlBgNVBAMT HkludHJhbmV0IENlcnRpZmljYXRlIEF1dGhvcml0eQICW98wga0GCyqGSIb3DQEJEAILMYGd oIGaMIGTMQswCQYDVQQGEwJVUzELMAkGA1UECBMCQ0ExFjAUBgNVBAcTDU1vdW50YWluIFZp ZXcxGzAZBgNVBAoTEkFtZXJpY2EgT25saW5lIEluYzEZMBcGA1UECxMQQU9MIFRlY2hub2xv Z2llczEnMCUGA1UEAxMeSW50cmFuZXQgQ2VydGlmaWNhdGUgQXV0aG9yaXR5AgJb3zANBgkq hkiG9w0BAQEFAASBgElOHcXFO4IoP5rLJ7IsFft4RRxxhQ6gzPAP9c8ISEJ6m88ta7KhSCwy 5sEqUNfc/CnAI//+X2HIzT2TZtYdWFK+WsBvVqFzpIF+qL2Ii3ptUWSsGRjGkQZkm169BbQU Hr2BozJwCz93XjTGFpxl4+N7U4IbyrB6Mi0kn/dnRZ+fAAAAAAAA --------------ms070304080907030903020303-- - 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/