Unstuck
< Freedom to Think, Act and Elevate />
Linkbar
>> Latest Posts
System Design
>> Books Corner
>> Python
{ Prog Lang }
! Mentoring !
Bhakthi
( About )
30 January 2011
Java Threads - Why you can't start a thread twice?
Assume the following code
class Mythread extends Thread {
}
Mythead thread = new Mythread();
thread.start(); thread.start();
Why you cannot start the thread (i.e calling thread.start()) twice? Why JVM panics when you do that?
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)