Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(6)  |  Call(6)  |  Derive(0)  |  Import(0)

src/k/a/kamaelia-HEAD/Code/Python/Axon/Axon/__init__.py   kamaelia(Download)
from Axon.Base import AxonObject, AxonType
 
Microprocess.microprocess.setSchedulerClass(Scheduler.scheduler)
#Microprocess.microprocess.setTrackerClass(CoordinatingAssistantTracker.coordinatingassistanttracker)
Microprocess.microprocess.setTrackerClass(None)

src/k/a/kamaelia-HEAD/Code/Python/Axon/Axon/Scheduler.py   kamaelia(Download)
      for i in self.main(slowmo,canblock=True): pass
 
microprocess.setSchedulerClass(scheduler)
scheduler() # Initialise the class.
 

src/k/a/kamaelia-HEAD/Sketches/MPS/BugReports/FixTests/Axon/Axon/__init__.py   kamaelia(Download)
from Axon.Base import AxonObject, AxonType
 
Microprocess.microprocess.setSchedulerClass(Scheduler.scheduler)
#Microprocess.microprocess.setTrackerClass(CoordinatingAssistantTracker.coordinatingassistanttracker)
Microprocess.microprocess.setTrackerClass(None)

src/k/a/kamaelia-HEAD/Tests/Python/Axon/test_Microprocess.py   kamaelia(Download)
      premp = self.init_test()
      before = premp.__class__.schedulerClass
      microprocess.setSchedulerClass(DummySched)
      postmp = self.init_test()
      after = postmp.__class__.schedulerClass
      self.failUnless(before == Scheduler.scheduler, "Default scheduler not as expected!")
      self.failUnless(after == DummySched, "Set scheduler failed to set the scheduler properly")
      self.failUnless(before != after, "Setting scheduler did not change class!")
      microprocess.setSchedulerClass(before)

src/k/a/kamaelia-HEAD/Sketches/MPS/BugReports/FixTests/Axon/Axon/Scheduler.py   kamaelia(Download)
      for i in self.main(slowmo,canblock=True): pass
 
microprocess.setSchedulerClass(scheduler)
scheduler() # Initialise the class.