3303-flashcards/hATaBiZQ - 3303/UOJnMBKV - What causes a thread to move into the Sleeping state and how does it leave.md
gwg313 e83b60af4f
first commit
update readme

reformat
2026-04-20 23:10:20 -04:00

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.