2 ms·
> Yeah, I don't know if there's ever going to be a portable way to enforceably "disallow" the sharing of state between threads in C++. Not sharing state at all
by jcelerier 9y ago
> Yeah, I don't know if there's ever going to be a portable way to enforceably "disallow" the sharing of state between threads in C++.
Not sharing state at all means that you cannot even do message passing other than through sockets or something like this. At some point you have to share at least a message queue to be able to go from thread A to thread B.