Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 15274 invoked from network); 12 Oct 2007 13:24:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Oct 2007 13:24:23 -0000 Received: (qmail 43723 invoked by uid 500); 12 Oct 2007 13:24:11 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 43200 invoked by uid 500); 12 Oct 2007 13:24:10 -0000 Mailing-List: contact dev-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list dev@harmony.apache.org Received: (qmail 43191 invoked by uid 99); 12 Oct 2007 13:24:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Oct 2007 06:24:10 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of aleksey.shipilev@gmail.com designates 209.85.132.241 as permitted sender) Received: from [209.85.132.241] (HELO an-out-0708.google.com) (209.85.132.241) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Oct 2007 13:24:13 +0000 Received: by an-out-0708.google.com with SMTP id b21so45548ana for ; Fri, 12 Oct 2007 06:23:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=OQRKgfv5xkB2mFNzgft9GBU9zh+VvBWu4Febkfh4vZY=; b=VyJSURJ60wKAsb1Ti1keeTxMR7JTLkmCltcxEaCn44Fy8iEF52pCPQUuZHkiHwslpemH+4hOj49DltkKdFZ33j+qiJFvVftZ8ckxzM5vVrHhs6JIvA8Lq1x9OY08jJped+t636S2frS5bQ2YFQ6mZlpDToXmSTeGqDl+PH3bWNg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=eY5uQvqSimzP/Pyq0Mz5CCBSzEXjq0sAgIOxQCqjxy9tNAyMgxYpdSg9uJpz+UNG3jGGSr54uerCbzmeKcILNGloqNDgghmdzCvTt49AkbmDh33emD94ILteSQt1KGF8ttskw4U+AGgUpUiY4Jg8iTLr1nePA1pkJKWpZ7+wDTY= Received: by 10.142.246.8 with SMTP id t8mr932452wfh.1192195431313; Fri, 12 Oct 2007 06:23:51 -0700 (PDT) Received: by 10.143.6.19 with HTTP; Fri, 12 Oct 2007 06:23:51 -0700 (PDT) Message-ID: <4bebff790710120623x1eed5e10j90b699a923232ec5@mail.gmail.com> Date: Fri, 12 Oct 2007 17:23:51 +0400 From: "Aleksey Shipilev" To: dev@harmony.apache.org Subject: Re: [classlib][nio] epoll()-based Selector In-Reply-To: <2c9597b90710120558m275a0b72l10baccf9112d8802@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4bebff790710010849q3116964br7d85dc5a5b5f20a7@mail.gmail.com> <4bebff790710080218t69777ac4u19046c1b7d17e009@mail.gmail.com> <4bebff790710080246qe981904md6015aa90950fb7a@mail.gmail.com> <470DD612.8030308@gmail.com> <2c9597b90710110503h223eb1e1h600ff71e8d80fe41@mail.gmail.com> <4bebff790710120419n70710a30hf3e0a1f475692d26@mail.gmail.com> <4bebff790710120447y5ff74dd6u27a449d2358fc09e@mail.gmail.com> <2c9597b90710120558m275a0b72l10baccf9112d8802@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Alexei, That's simple - if the have no _runtime_ kernel check and enable EpollSelectionProvider then we will fail with "unresolved symbol: epoll_*". More cleaner way will be to provide some runtime check and fail with some clean message describing lack of epoll facility in the running kernel. AFAIU, both ways should not confuse the user since epoll is turned on manually. If we will implement automatic switching to the epoll, then we implement runtime check and fail gently. Thanks, Aleksey. On 10/12/07, Alexei Zakharov wrote: > Another question is what we should do if somebody tries to use our > regular snapshot (that was built on 2.6+ kernel) on the machine with > older kernel.