Example #1
0
 def get_i(self):
   assert self.p
   return sonic.pipe_get_i(self.p)
Example #2
0
 def get_rlimit(self):
   assert self.p
   return sonic.pipe_get_limit(self.p)-sonic.pipe_get_i(self.p)
Example #3
0
 def rlimit(self,i):
   assert self.p
   return sonic.pipe_limit(self.p,sonic.pipe_get_i(self.p)+i)