reformat
This commit is contained in:
parent
316cf8c1d6
commit
e5aef8679f
159 changed files with 1141 additions and 1100 deletions
|
|
@ -0,0 +1,11 @@
|
|||
|
||||
|
||||
## How do the **`wait()`** and **`notify()`** methods interact?
|
||||
|
||||
---
|
||||
|
||||
🛑
|
||||
|
||||
- **`wait()`**: Causes the current thread to block and enter the **Waiting** state.
|
||||
- **`notify()` / `notifyAll()`**: Invoked by _another_ thread to move the waiting thread(s) back to the **Runnable** state.
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue