int main (int argc, char *argv[]) { test_atomic_int (); test_atomic_int64 (); return unit_test_failures; }
void test_atomics (int numthreads, int iterations) { test_atomic_int (numthreads, iterations); test_atomic_int64 (numthreads, iterations); }