from K&B book, chapter 9, Self
test Question 1.
Output:
Wallace-1 Gromit-1 Wallace-2 Gromit-2
OR
Gromit-1 Wallace-1 Gromit-2 Wallace-2
I'm expecting the output:
"Wallace-1 Wallace-2 Gromit-1 Gromit-2"
OR
"Gromit-1 Gromit-2 Wallace-1 Wallace-2 "
because there are 2 threads, and each has its "own" messanger instance, and won't block each other. please correct/explain me. thanks
[ November 27, 2006: Message edited by: Anthony Karta ]