first commit
update readme reformat
This commit is contained in:
commit
e83b60af4f
155 changed files with 1143 additions and 0 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