Philip Withnall 86f4a02b65 tests: Fix thread safety in closure-refcount test
Previously, all three threads would access several global variables
without locking.

Fix that by using atomic accesses to data stored within the
test_closure_refcount() function, which also eliminates the global state
(which would confuse further tests if they were added to this file).

Signed-off-by: Philip Withnall <withnall@endlessm.com>
2019-02-27 12:31:06 +00:00
..
2015-10-23 11:28:03 -04:00
2014-05-30 10:22:35 -04:00
2018-11-01 01:41:32 +03:00
2018-12-12 12:57:51 +01:00
2018-06-14 11:33:53 +01:00
2017-05-24 11:58:19 +02:00
2016-08-27 22:54:39 -04:00
2013-05-29 08:37:08 -04:00