Problem: Spinning on atomics can cause hangs
Solution: Add a sleep in the loop. Some versions of valgrind may hang when spinning on atomic variables.
Showing
Please
register
or
sign in
to comment
Solution: Add a sleep in the loop. Some versions of valgrind may hang when spinning on atomic variables.