How should the Java notification wait mechanism be called?

What is a suitable name? I am reading notify / wait, which should only be used for something else, but building queues of conditions . Another possible name might be thread coordination . In the Java concurrency tutorial, it was called Protected Blocks . In fact, I do not consider anyone suitable. Is there a better keyword to describe this mechanism?

+4
source share
3 answers

It will be Monitor

+5
source

Thread coordination seems reasonable. Waiting / notification methods are coordinated through the facility monitor. Monitor is perhaps the concept you are looking for.

+2
source

Doug Lea factored Object Monitor (synchronized) and wait / notification mechanisms in Lock and Condition, respectively.

They support richer and finer functionality than the object monitor, but explicitly provide the same functionality.

Call Waiting / Notification The status is pretty standard.

See this question for some usage information in Locks / Condition.

+2
source

All Articles