Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 8209 invoked from network); 15 Feb 2007 18:16:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Feb 2007 18:16:09 -0000 Received: (qmail 49200 invoked by uid 500); 15 Feb 2007 18:16:10 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 49173 invoked by uid 500); 15 Feb 2007 18:16: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 49162 invoked by uid 500); 15 Feb 2007 18:16:10 -0000 Delivered-To: apmail-incubator-harmony-dev@incubator.apache.org Received: (qmail 49156 invoked by uid 99); 15 Feb 2007 18:16:10 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Feb 2007 10:16:10 -0800 X-ASF-Spam-Status: No, hits=3.0 required=10.0 tests=DATE_IN_PAST_96_XX,SPF_HELO_PASS,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: 216.86.168.178 is neither permitted nor denied by domain of geir@pobox.com) Received: from [216.86.168.178] (HELO mxout-03.mxes.net) (216.86.168.178) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Feb 2007 10:15:59 -0800 Received: from [192.168.1.107] (unknown [67.86.14.213]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id F3D6B519F9 for ; Thu, 15 Feb 2007 13:15:04 -0500 (EST) Message-ID: <454F6688.4060501@pobox.com> Date: Mon, 06 Nov 2006 11:44:56 -0500 From: Geir Magnusson Jr User-Agent: Thunderbird 1.5.0.7 (X11/20060909) MIME-Version: 1.0 To: harmony-dev@incubator.apache.org Subject: [drlvm] potential for race condition in jni.cpp jni_init() Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Trying to solve some of the compilation warnings, I was going through jni.cpp. Do we care that apr_initialize() isn't really protected from multiple invocations by concurrent threads? My read of apr_initialize() is that it's not protected either. I assume someone throught this through? geir