Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests/optional_mutex: check counter within a lock
The variables "value" and "counter" are modified within mutex locks, so it makes sense for the final check to also be within a mutex lock. However, the final check happens after pthread_join(), so there isn't any danger of synchronization problems. Reported by: Coverity scan
- Loading branch information