rem: TRACE("start_event_thread enter\n");
add: INIT_DEBUGOUT("start_event_thread enter");
context: start_event_thread(struct adapter *adapter){	TRACE("start_event_thread enter\n");	adapter->event_thread = spawn_kernel_thread(event_handler, "ipro1000 event", 80, adapter);	adapter->event_flags = 0;	adapter->event_sem = create_sem(0, "ipro1000 event");	set_sem_owner(adapter->event_sem, B_SYSTEM_TEAM);		if (adapter->event_thread >= 0 && adapter->event_sem >= 0) {		resume_thread(adapter->event_thread);		TRACE("start_event_thread leave\n");		return 0;	}	TRACE("start_event_thread failed\n");	delete_sem(adapter->event_sem);	kill_thread(adapter->event_thread);	TRACE("start_event_thread leave\n");	return -1;}