rem: static const char *state_to_text(int state)
add: state_to_text(int state)
context: static const char *state_to_text(int state){	switch(state) {		case B_THREAD_READY:			return "READY";		case B_THREAD_RUNNING:			return "RUNNING";		case B_THREAD_WAITING:			return "WAITING";		case B_THREAD_SUSPENDED:			return "SUSPEND";		case THREAD_STATE_FREE_ON_RESCHED:			return "DEATH";		default:			return "UNKNOWN";	}}