3 ms·
C++11 did make it possible to write portable correct double-checked locking, but it's still very easy to get it wrong (unless you can get away with just using s
by plorkyeran 11y ago
C++11 did make it possible to write portable correct double-checked locking, but it's still very easy to get it wrong (unless you can get away with just using std::call_once).