Instead of allocating three separate ThreadMutex pointers, just embed std::mutex into the struct directly.
3.2 KiB
3.2 KiB
Instead of allocating three separate ThreadMutex pointers, just embed std::mutex into the struct directly.