Determining Thread state
In Java, you can determine the state of a thread by using its Thread.State enumeration. The Thread.State enum represents the various states a thread can be in during its lifetime. Thread.State enum syntax in java.lang package Here are the different thread states: NEW: The thread has been created but has not yet started executing. It […]
Determining Thread state Read More »
