What are the states associated in the thread?
Answers were Sorted based on User's Feedback
Answer / dharmender
1. New
2. Runnable
3. Running
4. Waiting/Blocked
5. Dead
Is This Answer Correct ? | 8 Yes | 2 No |
Answer / janet
Thread contains ready ,running,waiting and dead states
Is This Answer Correct ? | 5 Yes | 1 No |
Answer / s.ramesh
Thread States.
1. RUNNABLE --- When a thread is Processed by CPU
2. BLOCKED --- When a thread is Deadlocked or blocked by
some other resources
3. WAITING --- When a thread is waiting to process
4. TIMED_WAITING -- When a thread is in sleeping
5. Dead --- When a thread is completely processed
Is This Answer Correct ? | 3 Yes | 1 No |
What is ioc concept?
What are skeletons and stubs and how they are generated?
What is a tasks priority and how is it used in scheduling?
What is a compilation unit?
What are transaction attributes?
list the types of dialodg
What is a task?s priority?
What is multi-tasking? Types?
What is waiting state? In what ways a thread can enter into waiting state?
can any one tell me how to learn good coding techniques
What class is the top of the awt event hierarchy?
What are callback interfaces?