Ejemplo n.º 1
0
        public ContextSwitchTest(String name)
        {
            Name = name;

            signal1 = NSFOSSignal.create("Signal1");
            signal2 = NSFOSSignal.create("Signal2");

            thread1 = NSFOSThread.create("Thread1", thread1Loop, NSFOSThread.HighestPriority);
            thread2 = NSFOSThread.create("Thread2", thread2Loop, NSFOSThread.HighestPriority);
        }
 public TestHarness()
 {
     firstSignal  = NSFOSSignal.create("FirstSignal");
     secondSignal = NSFOSSignal.create("SecondSignal");
 }