java:threads:wait-notify-producer-consumer
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| java:threads:wait-notify-producer-consumer [2024/01/17 01:05] – created odefta | java:threads:wait-notify-producer-consumer [2025/01/02 18:22] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 90: | Line 90: | ||
| Synchronized Block**: Both wait and notify are called within a synchronized block to ensure that the thread holds the monitor' | Synchronized Block**: Both wait and notify are called within a synchronized block to ensure that the thread holds the monitor' | ||
| - | This example showcases a typical use case for wait, notify, | + | This example showcases a typical use case for wait and notify |
java/threads/wait-notify-producer-consumer.1705453509.txt.gz · Last modified: (external edit)
