Happy to see your explanation...

jabber (jabber)
I cooked up this example as I tried to help one of my colleagues to debug his code.
Most of us know that a Thread cannot be started more than one time....But my friend did make such a mistake in his code: try to restart a thread after it have been dead (run() method has been returned).

No mistake is stupid. But a good programmer should be good at learning lessons from other's mistakes...
2000-11-12 -05:00

回到话题: Toy code for Java Thread

回到论坛: HOME枫下论坛枫下论坛主坛工作学习IT杂谈