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