Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 69218 invoked from network); 10 Jul 2006 02:19:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Jul 2006 02:19:04 -0000 Received: (qmail 57900 invoked by uid 500); 10 Jul 2006 02:18:59 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 57201 invoked by uid 500); 10 Jul 2006 02:18:57 -0000 Mailing-List: contact harmony-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-dev@incubator.apache.org Received: (qmail 57190 invoked by uid 99); 10 Jul 2006 02:18:57 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Jul 2006 19:18:57 -0700 X-ASF-Spam-Status: No, hits=1.9 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: 202.81.18.152 is neither permitted nor denied by domain of firepure@gmail.com) Received: from [202.81.18.152] (HELO ausmtp04.au.ibm.com) (202.81.18.152) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Jul 2006 19:18:55 -0700 Received: from sd0208e0.au.ibm.com (d23rh904.au.ibm.com [202.81.18.202]) by ausmtp04.au.ibm.com (8.13.6/8.13.5) with ESMTP id k6A2NN89195170 for ; Mon, 10 Jul 2006 12:23:27 +1000 Received: from d23av03.au.ibm.com (d23av03.au.ibm.com [9.190.250.244]) by sd0208e0.au.ibm.com (8.12.10/NCO/VER6.8) with ESMTP id k6A2LdvP211414 for ; Mon, 10 Jul 2006 12:21:44 +1000 Received: from d23av03.au.ibm.com (loopback [127.0.0.1]) by d23av03.au.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id k6A2IGv2007758 for ; Mon, 10 Jul 2006 12:18:16 +1000 Received: from d23m0011.cn.ibm.com ([9.181.32.74]) by d23av03.au.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id k6A2ID3H006930 for ; Mon, 10 Jul 2006 12:18:15 +1000 Received: from [9.181.107.166] ([9.181.107.166]) by d23m0011.cn.ibm.com (Lotus Domino Release 6.5.5HF262) with ESMTP id 2006071010150999-986 ; Mon, 10 Jul 2006 10:15:09 +0800 Message-ID: <44B1B82E.9050000@gmail.com> Date: Mon, 10 Jul 2006 10:15:10 +0800 From: "Jimmy, Jing Lv" User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: harmony-dev@incubator.apache.org Subject: Re: portlib functionality References: <9605648e0606190510g3333137fi5d0e6eab25bfba7e@mail.gmail.com> <44AD3A0E.6070009@gmail.com> <44ADCFF7.7040603@gmail.com> <9605648e0607070048i6cb7a9fem2299dae0b7d81b02@mail.gmail.com> In-Reply-To: <9605648e0607070048i6cb7a9fem2299dae0b7d81b02@mail.gmail.com> X-MIMETrack: Itemize by SMTP Server on D23M0011/23/M/IBM(Release 6.5.5HF262 | April 5, 2006) at 10/07/2006 10:15:10, Serialize by Router on D23M0011/23/M/IBM(Release 6.5.5HF262 | April 5, 2006) at 10/07/2006 10:18:14, Serialize complete at 10/07/2006 10:18:14 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=ISO-8859-1; format=flowed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Marina Goldburt wrote: > Tim, Paulex, > >> Will look at the file locking later...And I'm sure there are other >> things worthing evaluation to be portlib extension. > > And what is the way to extend the portlib functionality? If we add all the > missing functions to the HyPortLibrary structure, the structure will grow > awfully. And, as I understand, every change in the structure leads to vm > recompilation. > > I can prepare a patch that moves platform-dependent file I/O operations > from > luni/luni to luni/port submodule. Is it will be useful? > > Marina > A great idea! :) But as I know, some of the methods are a bit complex and require well-design on api, e.g., selectImpl() in luni, which was written into one method in Harmony native code, but IMHO if removes into portlib, it must be separated into two or three methods, and should be design carefully. So I suggest more discussion on this. :) -- Best Regards! Jimmy, Jing Lv China Software Development Lab, IBM --------------------------------------------------------------------- Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org For additional commands, e-mail: harmony-dev-help@incubator.apache.org