Use stdatomic.h for atomic_counter_t where available.

Closes ticket 23953.
This commit is contained in:
Nick Mathewson
2017-11-21 14:06:48 -05:00
parent 880d596f4d
commit 25f882a9cf
4 changed files with 78 additions and 11 deletions
+3
View File
@@ -0,0 +1,3 @@
o Minor features (performance):
- Use stdatomic.h where available, rather than mutexes, to implement
atomic_counter_t. Closes ticket 23953.