Re: thread priority question...




"Padhu Vinirs" <prabha_pady@xxxxxxxxxxx> wrote in message news:sOadnXdHBfETT5PZRVn-tA@xxxxxxxxxxxxxx

This was sample code I typed in here. Please assume that the exceptions are caught etc. printStatus is very simple:

public void printStatus() {
// some system.out of thread's state variables...
}

Thanks

If I assume you've done everything correctly, then yes, your code works perfectly. Since it's not working perfectly, perhaps the assumption that you've done everything correctly is invalid.

Please post an SSCCE. http://mindprod.com/jgloss/sscce.html

- Oliver

.