harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rana Dasgupta" <rdasg...@gmail.com>
Subject Re: [drlvm][threading] a question about JIRA H3253
Date Tue, 06 Mar 2007 03:43:45 GMT
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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message