Date: 2025-05-27 10:39:16
Score: 0.5
Natty:
You can use std::shared_mutex
and std::shared_lock
to lock only when writing, allowing reading from multiple threads simultaneously [Shared mutex][Shared lock] .
Reasons:
- Whitelisted phrase (-1.5): You can use
- Low length (1):
- Has code block (-0.5):
- Single line (0.5):
- Low reputation (1):
Posted by: PredaWnia