Exemplo n.º 1
0
 def birth(self, sleeptime):
   BalancedActor.birth(self)
   self.sleeptime = sleeptime
   self.count = 0
   schedule('work')
Exemplo n.º 2
0
 def arrived(self):
   BalancedActor.arrived(self)
   schedule('work')