Howdy, Raef!
I guess you won't get much answers to this question because the code is unreadable and cannot compile.
Perhaps repost the code in a repaired version and use code tags.
At the posting page, mark the part of your posting that should be indented. Usually that will be your code (or some tabellaric output).
Hit the
- Button below.
that's it!
and:
you wrote:
I removed the synchronized “methods” and tried again
Do you mean, you removed the synchronized keyword and tried again?
If so, you cannot always expect a change in behaviour, as the code in the run method is so short and performed so quickly, that even in a non-synch method no other thread has the chance to get selected by the scheduler.
Perhaps try to insert an additional call to yield() in that method.
Yours,
Bu.