Skip to content
Snippets Groups Projects
Select Git revision
  • 7db8ecc7f7bebe8840497e02cd0547aa24f6a3d6
  • master default protected
  • schwifi
  • eckbalu-master-patch-41181
  • halof
  • our-team
  • 0.12.9 protected
  • 0.12.8 protected
  • 0.12.7 protected
  • 0.12.6 protected
  • 0.12.5 protected
  • 0.12.4 protected
  • 0.12.3 protected
  • 0.12.2 protected
  • 0.12.1 protected
  • 0.12.0 protected
  • 0.11.5 protected
  • 0.11.4 protected
  • 0.11.3 protected
  • 0.11.2 protected
  • 0.11.1 protected
  • 0.11.0 protected
  • 0.10.6 protected
  • 0.10.5 protected
  • 0.10.4 protected
  • 0.10.3 protected
26 results

raspberry-pi-malware-scanner.md

Blame
  • Global.java 669 B
    /**
     * the global scheduler
     * It will distribute the incoming tasks between the two schedulers (RR & SRTF) and select which one may determine the active task
     */
    public class Global {
    	
    	private SRTF srtf = new SRTF(); //high priority scheduler
    	private RR rr = new RR(); //low priority scheduler
    	
    	String history = ""; //a string with tha names of task that have taken control so far - I will use this only for the output
    	
    	public void add(Task t) {
    		if (t.isKernel)
    			srtf.add(t);
    		else
    			rr.add(t);
    	}
    	
    	public void tick() {
    	
    	}
    	
    	/**
    	 * A task is forcibly taking control
    	 * @param t the task to be run
    	 */
    	public void changeRunning(Task t) {
    	
    	}
    	
    }