Java Coordination Methods

preview_player
Показать описание
This video gives an overview of the wait(), notify(), and notifyAll() methods that Java monitor objects provide to coordinate thread behavior.
Рекомендации по теме
Комментарии
Автор

spin, wait, block and sleep these concepts still are noodles in my head

americannumber
Автор

just for clarification, when you say sleep, you are not referring to Thread.sleep(), right?
notify wouldn't able to weak up threads in the sleep state.

americannumber