Computer Science, asked by gurvindersingh1734, 1 year ago

Explain thread life cycle with suitable example.

Answers

Answered by joshni777
0

Explanation:

For example, a thread is born, started, runs, and then dies. The following diagram shows the complete life cycle of a thread. ... Runnable − After a newly born thread is started, the thread becomes runnable. A thread in this state is considered to be executing its task.

Answered by VaishnavRaj0
0

Explanation:

Life Cycle of a Thread:-

For example, a thread is born, started, runs, and then dies. The following diagram shows the complete life cycle of a thread. New − A new thread begins its life cycle in the new state. It remains in this state until the program starts the thread.

Similar questions