2 ms·
> C++ std::mutex provided in Microsoft's STL uses SRWLocks underneath, same size as a pointer. The SRWLocks are indeed the size of a pointer, the std::mutex is
by tialaramex 3y ago
> C++ std::mutex provided in Microsoft's STL uses SRWLocks underneath, same size as a pointer.
The SRWLocks are indeed the size of a pointer, the std::mutex is not for ABI reasons.