3 ms·
MutexProtected is almost Ada protected objects for C++: https://learn.adacore.com/courses/Ada_For_The_CPP_Java_Developer/chapters/11_Concurrency.html#protected
by thesuperbigfrog 4y ago
MutexProtected is almost Ada protected objects for C++:
https://learn.adacore.com/courses/Ada_For_The_CPP_Java_Developer/chapters/11_Concurrency.html#protected-objects https://learn.adacore.com/courses/Ada_For_The_CPP_Java_Devel...
This IS a very useful concurrency pattern.
Any language that implements concurrent access to shared data should have it or something very similar.