Add variable 'activate_count' to thread_t.