add: delete_thread(ptid_build(teamDebugInfo->team, 0, threadID));
context: haiku_remove_thread(team_debug_info *teamDebugInfo, thread_id threadID){	thread_debug_info **info;	for (info = &teamDebugInfo->threads; *info; info = &(*info)->next) {		if ((*info)->thread == threadID) {			thread_debug_info *foundInfo = *info;			*info = foundInfo->next;			if (foundInfo->last_event)				xfree(foundInfo->last_event);			xfree(foundInfo);			return;		}	}}