Esempio n. 1
0
int main (int argc, char *argv[])
{
    test_atomic_int ();
    test_atomic_int64 ();

    return unit_test_failures;
}
Esempio n. 2
0
void test_atomics (int numthreads, int iterations)
{
    test_atomic_int (numthreads, iterations);
    test_atomic_int64 (numthreads, iterations);
}