POSIX pthread_key_create interface