What is an appropriate name? I read notify/wait should barely used for anything else, but building condition queues. Another possible name might be thread coordination. In the Java concurrency tutorial its named Guarded Blocks. Actually I find no one of these suitable. Is there a better keyword to describe this mechanism?
That would be a Monitor
Thread coordination seems reasonable. The wait/notify methods coordinate via the object's monitor. Monitor is maybe the concept you are looking for.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With