1 /* All OK - test allowed read sharing */
8 static void *t1(void *v
)
10 return (void *)(long)(shared
+ 44);
13 static void *t2(void *v
)
15 return (void *)(long)(shared
+ 55);
24 pthread_create(&a
, NULL
, t1
, NULL
);
25 pthread_create(&b
, NULL
, t2
, NULL
);
27 pthread_join(a
, NULL
);
28 pthread_join(b
, NULL
);