Home | History | Annotate | Download | only in tests

Lines Matching full:test_key

134 void *TSDWorker(void *test_key) {
135 if (test_key) {
136 pthread_setspecific(*(pthread_key_t*)test_key, (void*)0xfeedface);
157 pthread_key_t test_key;
158 pthread_key_create(&test_key, TSDDestructor);
159 PTHREAD_CREATE(&th, NULL, TSDWorker, &test_key);
161 pthread_key_delete(test_key);