rem: TRACE("stop_event_thread enter\n");
add: INIT_DEBUGOUT("stop_event_thread enter");
context: stop_event_thread(struct adapter *adapter){	status_t thread_return_value;		TRACE("stop_event_thread enter\n");		delete_sem(adapter->event_sem);	wait_for_thread(adapter->event_thread, &thread_return_value);		adapter->event_thread = -1;	adapter->event_sem = -1;	TRACE("stop_event_thread leave\n");}