harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geir Magnusson Jr." <g...@pobox.com>
Subject Re: [drlvm][threading] a question about JIRA H3253
Date Wed, 07 Mar 2007 16:02:17 GMT
I don't agree - I think that was a perfectly good question for the  
dev list.

geir

On Mar 5, 2007, at 10:43 PM, Rana Dasgupta wrote:

> IMHO we may be better off if we post brief discussions on commits/ 
> reviews on
> the JIRA, rather than on the list, unless it is an architectural  
> issue or
> one where several opinions could add value. There seem to be  
> several threads
> where the entire thread consists of a single post and a response :-)
>
> On 3/5/07, Weldon Washburn <weldonwjw@gmail.com> wrote:
>>
>> Peter,
>> I modified your patch to put the variables inside the critical
>> section.  Let
>> me know if the following is not OK
>>
>>
>> public Thread.State getState() {
>>
>> boolean dead = false;
>>
>> synchronized(lock) {
>>
>> if(started && !isAlive() ) dead = true;
>>
>> }
>>
>> if (dead) return State.TERMINATED;
>>
>> int state = (VMThreadManager.getState(this));
>>
>>
>> --
>> Weldon Washburn
>> Intel Enterprise Solutions Software Division
>>


Mime
View raw message