Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 69585 invoked from network); 5 Mar 2007 16:05:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Mar 2007 16:05:14 -0000 Received: (qmail 43552 invoked by uid 500); 5 Mar 2007 16:05:20 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 43526 invoked by uid 500); 5 Mar 2007 16:05:20 -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 43517 invoked by uid 99); 5 Mar 2007 16:05:20 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Mar 2007 08:05:20 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of weldonwjw@gmail.com designates 64.233.182.186 as permitted sender) Received: from [64.233.182.186] (HELO nf-out-0910.google.com) (64.233.182.186) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Mar 2007 08:05:09 -0800 Received: by nf-out-0910.google.com with SMTP id d4so2088025nfe for ; Mon, 05 Mar 2007 08:04:48 -0800 (PST) DKIM-Signature: a=rsa-sha1; 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:references; b=EMjksJZE3E/0gAorJXGc2iZ5Qhxn4ODuHf0RNcjwE8rCs7d1AKnHAI2Ujpss50qPZ4Cp1g6/AEvOvSbVW/EvqwqaKmokOgV1IT1IGzwcSAz0LcPCH6HvZcf9MUvFUe37igtfPUJ3ZH6A4RQGErZA9x+nPOLc/oO4RGBJissJV3Q= 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:references; b=MZy+OnlMcPJJtYaD9eJH7jJU4pexGqSsYdVm5oa5EgOFFsS1Gjc6X0rdLAUyG3AClk0rF9uT6G4L7lAvnFqo8Q/H1aB0pYzOaj87/FMG5bLqDInPjHDHzwB5mUW1Weoc1XQrO69LKr1KhjK45gcXimxDX/oc6eGo0XPIDKaTaeY= Received: by 10.78.131.8 with SMTP id e8mr646991hud.1173110688433; Mon, 05 Mar 2007 08:04:48 -0800 (PST) Received: by 10.78.137.2 with HTTP; Mon, 5 Mar 2007 08:04:48 -0800 (PST) Message-ID: <4dd1f3f00703050804k5ca38d74pc960bad5bca43479@mail.gmail.com> Date: Mon, 5 Mar 2007 08:04:48 -0800 From: "Weldon Washburn" To: dev@harmony.apache.org Subject: Re: [drlvm][threading] comments on Harmony-3288 In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_89706_7075838.1173110688372" References: <4dd1f3f00703042117y5b58f8abk9260a56270e2267@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_89706_7075838.1173110688372 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 3/5/07, Geir Magnusson Jr. wrote: > > > On Mar 5, 2007, at 6:14 AM, Peter Novodvorsky wrote: > > > I fully agree with Weldon, I only want to notice that better > > implementation would be not #ifdef'ing platform dependent lines, but > > implementing hymutex/hyconds with platform dependent synchronization > > primitives as separate files for windows and linux and then using them > > for implementing threads synchronization. This way we will recreate > > parts of APR, but it's not a problem, because we have different > > focuses (APR authors focus on Apache HTTPD in the end). > > I think I agree with all of you. I was fairly skeptical about APR > from the very beginning, noting that we have a set of requirements > that's different than the original customer for APR. > > Glad to see this moving forward this way. Agreed. This is finally going the right direction. I would caution that we should be careful of the performance impact of replacing #ifdefs with call/returns. My guess is that this will not slow down things. In any case, we need to measure. geir > > > > > Peter. > > > > On 3/5/07, Weldon Washburn wrote: > >> This JIRA does not specifically state the high-level motivation. > >> It would > >> be a good idea to discuss the motivation on the dev list so that > >> Harmony > >> priorities are clearly set. I throw the following observations > >> onto the > >> list to get the conversation going. > >> > >> I think a valid motivation for H3288 is basic threading subsystem > >> stability. I agree with the observation that Apache Portable > >> Runtime (APR) > >> adds much confusion and probably even bugs to the threading > >> model. It > >> would be good to reduce the amount of APR code where possible. > >> Even if this > >> means cluttering the native C code with "#ifdef LINUX.... #elseif > >> WINDOWS...#endif". > >> > >> Bottom line: I think Harmony-3288 is attacking the correct > >> problem. It > >> looks like it is going the right direction. I have not looked at > >> 3288 real > >> close thus I don't know yet if 3288 is ready for commit. > >> > >> -- > >> Weldon Washburn > >> Intel Enterprise Solutions Software Division > >> > > -- Weldon Washburn Intel Enterprise Solutions Software Division ------=_Part_89706_7075838.1173110688372--