2 ms·
It's not new at all. It goes back to Brinch Hansen and Hoare in the early 1970s.[1] Modula and Ada had it. But the C/C++ crowd tends not to know about it, beca
by Animats 7y ago
It's not new at all. It goes back to Brinch Hansen and Hoare in the early 1970s.[1] Modula and Ada had it. But the C/C++ crowd tends not to know about it, because Unix and C did not originally have threads and concurrency was a retrofit.
[1] https://en.wikipedia.org/wiki/Monitor_(synchronization) https://en.wikipedia.org/wiki/Monitor_(synchronization)