private synchronized void processEvent(Sim_event ev) {
    	double currentTime = GridSim.clock();
    	boolean success = false;

    	if(ev.get_src() == myId_) {
		   	if (ev.get_tag() == UPT_SCHEDULE) {
		   		if(currentTime > lastSchedUpt) {
				    // updates the schedule, finish jobs, etc.
		   			updateSchedule();
		   			lastSchedUpt = currentTime;
		   		}
		   		success = true;
	    	}
		}
    	
    	if(!success) {
    		processOtherEvent(ev);
    	}
    }