3 ms·
A thread waiting on a barrier/joining other threads seems like reference counting by another name, to me. (Except, much more manual.)
by dbaupp 11y ago
A thread waiting on a barrier/joining other threads seems like reference counting by another name, to me. (Except, much more manual.)
- pjmlp 11y agoIt is, but I don't consider it much more manual, as it is done with help of the threading library and super easy in many languages with rich runtime libraries. Edit: I forgot to say that this is no much different that doing RAII FP style. Those M concepts are great.