I think you first need to understand concept of threads very clearly........
lets try this way
if the output is as you expected....what's the use of setting priority of a thread?