change pthread_key_delete's parameter to pointer