Good day. I want to use mutex in write | read mode when it reads any number of threads, and only writes one.
Here I advise shared_mutex, but it seems to be as soon as in C ++ 17 (at least in VS 2015 it is not there, only shared_lock).
How to properly make such a seizure?