Here System.out.print("Printed, "); this line is not executed???
Ruben Soto
Ranch Hand
Joined: Dec 16, 2008
Posts: 1032
posted
0
Hi Abhi,
I performed some modifications to the code that should allow you to see what's going on. Try to run this:
All code in my posts, unless a source is explicitly mentioned, is my own.
Abhi vijay
Ranch Hand
Joined: Sep 16, 2008
Posts: 509
posted
0
Thanks.Ruben. I understood. I am really nervous, as I am making a lot of mistakes in the Thread questions.
Ruben Soto
Ranch Hand
Joined: Dec 16, 2008
Posts: 1032
posted
0
Threads questions are tough for everyone. If you now understand why the code wasn't working as you expected, that means you understand threads quite well though.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.