Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 43045 invoked from network); 21 Jun 2007 17:35:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Jun 2007 17:35:45 -0000 Received: (qmail 21632 invoked by uid 500); 21 Jun 2007 17:35:46 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 21612 invoked by uid 500); 21 Jun 2007 17:35:46 -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 21603 invoked by uid 99); 21 Jun 2007 17:35:46 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Jun 2007 10:35:46 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of alin.harmony@gmail.com designates 64.233.184.226 as permitted sender) Received: from [64.233.184.226] (HELO wr-out-0506.google.com) (64.233.184.226) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Jun 2007 10:35:42 -0700 Received: by wr-out-0506.google.com with SMTP id i22so546082wra for ; Thu, 21 Jun 2007 10:35:21 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=kIZShMZehpB5isd/hg112hWoabBwoijOriNJgaxfBVqaeRFK1S0RBsETRFR+ldSXgaHGoYG8FbAgIq62BOTpBPznP3ECRS5/sUmCeBEHB4RG786DQnszuwrkNy4EJMoQ4K2GOQ0t7hLqm9APmkxdXGUhCMzy+LGQFasJWnJl74w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=OFVsUGlPz5E6Rdpp+m4Pdkvvz1WkVyTUcDJN1RLqfWtzyY2Cyj2ttlZhn3HrZ6Govw5o6zCUvpXPul1dFLqU4Ec0cSR2DUruHmmJc9ciFk3g8yA+5grVdllHLP0OTD/l7kdRqxK7ibT4XZAa9P4ArNCMx3H+klwfiKP9Zn1eIj0= Received: by 10.78.168.1 with SMTP id q1mr1073512hue.1182447320251; Thu, 21 Jun 2007 10:35:20 -0700 (PDT) Received: by 10.78.197.8 with HTTP; Thu, 21 Jun 2007 10:35:20 -0700 (PDT) Message-ID: <3ae04f990706211035x156845d7l78cc874f4469bb8b@mail.gmail.com> Date: Thu, 21 Jun 2007 13:35:20 -0400 From: "Angela Lin" To: dev@harmony.apache.org Subject: hythread_detach limitation MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org Hi folks, Could you take a peek at: https://issues.apache.org/jira/browse/HARMONY-4237 Text: The docs/comments for hythread_detach() and HyThreadLibrary->thread_detach() should be amended to note the limitation that these functions can only be used to detach the _current_ thread (and not any arbitrary thread). Because these funcs accept a hythread_t parameter, this may not be obvious. This limitation exists because the implementation may use some thread local storage. It's not quite a bug. I think it's a limitation that was accidentally omitted from our original document/spec for the hythread API. I hope you think this limitation is reasonable - it's implementation-influenced, but I think other implementations might want to use thread local storage too. -- Angela Lin, IBM Ottawa Software Lab