1 /* A simple race - test symaddr */
13 static void *th(void *v
)
15 struct foo
*f
= (struct foo
*)v
;
17 f
->poot
[5].plop
[11]++;
27 pthread_create(&a
, NULL
, th
, &foo
);
28 sleep(1); /* force ordering */
29 pthread_create(&b
, NULL
, th
, &foo
);
31 pthread_join(a
, NULL
);
32 pthread_join(b
, NULL
);