Thread priorities don't work in any JVM I've used. Java's rules are
fairly senseless, too.

I'm not sure your case qualifies as a bug, though:

>       public void run(){
>           //Thread.yield();
>           while(true){
>               System.out.print(name);
>               System.out.flush();
>           }
>       }

The calls to System.out stuff might very well result in a Thread
yield, making that thread temporarily not be runnable.

I don't think Java specifies this tightly.

                                                     [EMAIL PROTECTED]
.       .      .     .    .   .  . . http://www.media.mit.edu/~nelson/


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to