示例#1
0
 def unload(self, container, force=False):
     for m in Module.unload(self, container, force=force):
         yield m
     for m in container.syscall(
             syscall_removequeue(self.scheduler.queue,
                                 'ofpmanager_tableacquiredelay')):
         yield m
示例#2
0
 def unload(self, container, force=False):
     for m in Module.unload(self, container, force=force):
         yield m
     for m in container.syscall_noreturn(
             syscall_removequeue(self.scheduler.queue,
                                 "redisnotifier_modifylisten")):
         yield m
示例#3
0
文件: lock.py 项目: vtanrun/vlcp
 def destroy(self, container):
     """
     Destroy the created subqueue to change the behavior back to Lock
     """
     if self.queue is not None:
         for m in container.syscall_noreturn(syscall_removequeue(self.scheduler.queue, self.queue)):
             yield m
         self.queue = None
示例#4
0
文件: lock.py 项目: sinofeng/vlcp
 async def destroy(self, container=None):
     """
     Destroy the created subqueue to change the behavior back to Lock
     """
     if container is None:
         container = RoutineContainer(self.scheduler)
     if self.queue is not None:
         await container.syscall_noreturn(
             syscall_removequeue(self.scheduler.queue, self.queue))
         self.queue = None
示例#5
0
 def unload(self, container, force=False):
     for m in Module.unload(self, container, force=force):
         yield m
     for m in container.syscall_noreturn(syscall_removequeue(self.scheduler.queue, "redisnotifier_modifylisten")):
         yield m
示例#6
0
 def unload(self, container, force=False):
     for m in container.syscall(
             syscall_removequeue(self.scheduler.queue, 'dataobjectupdate')):
         yield m
     for m in Module.unload(self, container, force=force):
         yield m
示例#7
0
 def destroy(self, container):
     if self.queue:
         for m in container.syscall_noreturn(
                 syscall_removequeue(self.scheduler.queue, self.queue)):
             yield m
         self.queue = None
示例#8
0
 def unload(self, container, force=False):
     for m in Module.unload(self, container, force=force):
         yield m
     for m in container.syscall(syscall_removequeue(self.scheduler.queue, 'ofpmanager_tableacquiredelay')):
         yield m
示例#9
0
 def unload(self, container, force=False):
     for m in container.syscall(syscall_removequeue(self.scheduler.queue, 'dataobjectupdate')):
         yield m
     for m in Module.unload(self, container, force=force):
         yield m
示例#10
0
文件: lock.py 项目: hubo1016/vlcp
 def destroy(self, container):
     if self.queue:
         for m in container.syscall_noreturn(syscall_removequeue(self.scheduler.queue, self.queue)):
             yield m
         self.queue = None
示例#11
0
 async def unload(self, container, force=False):
     await Module.unload(self, container, force=force)
     await container.syscall_noreturn(
         syscall_removequeue(self.scheduler.queue,
                             "redisnotifier_modifylisten"))
示例#12
0
 async def unload(self, container, force=False):
     await Module.unload(self, container, force=force)
     await container.syscall(
         syscall_removequeue(self.scheduler.queue,
                             'ofpmanager_tableacquiredelay'))