10 lines
No EOL
256 B
Markdown
10 lines
No EOL
256 B
Markdown
|
|
What causes a thread to move into the **Sleeping** state, and how does it leave?
|
|
|
|
---
|
|
|
|
😴
|
|
|
|
- **Entering**: The thread invokes the **`sleep()`** method.
|
|
- **Leaving**: It remains blocked until the specified **sleep time elapses** or it is interrupted.
|
|
|