Hi Vijay,
Thanks for the reply.
Its not that the line is printed, its about the order that the threads are being processed.
By inserting the yield command I expected another
thread chosen at random to proceed but the order of execution is always the same. So i don't understand how the yield is working; also including the print statement affects the thread chosen to proceed.
cheers,
J