pointer to thread needed