Searched refs:str_key (Results 1 – 1 of 1) sorted by relevance
40 static pthread_key_t str_key; variable58 accu = (char *) pthread_getspecific(str_key); in str_accumulate()65 pthread_setspecific(str_key, (void *) accu); in str_accumulate()77 pthread_key_create(&str_key, str_alloc_destroy_accu); in str_alloc_key()78 printf("Thread %lx: allocated key %d\n", pthread_self(), str_key); in str_alloc_key()
Completed in 2 milliseconds