Lines Matching refs:TESTR
6 #define TESTR(r, f, m) ( \
32 TESTR(r, pthread_key_create(&k1, dtor), "failed to create key");
33 TESTR(r, pthread_key_create(&k2, dtor), "failed to create key");
35 TESTR(r, pthread_setspecific(k1, bar), "failed to set tsd");
36 TESTR(r, pthread_setspecific(k2, bar+1), "failed to set tsd");
37 TESTR(r, pthread_create(&td, 0, start, foo), "failed to create thread");
38 TESTR(r, pthread_join(td, &res), "failed to join");
44 TESTR(r, pthread_setspecific(k1, 0), "failed to clear tsd");
45 TESTR(r, pthread_setspecific(k2, 0), "failed to clear tsd");
46 TESTR(r, pthread_key_delete(k1), "failed to destroy key");
47 TESTR(r, pthread_key_delete(k2), "failed to destroy key");