private int roundRobin() {
		int size = pcbList.getPCBList().size();

		int nextPID = currentPID++ % size;
		
		while (pcbList.getPCBList().get(nextPID).getState() == ProcessState.BLOCKED) {
			nextPID = ++nextPID % size;
		}
		
		currentPID = nextPID;
		
		return nextPID;
	}