def invoke(self, func, args, kwargs):
# put the process in the host list pthreads
self.host.pthreads[getcurrent()] = self.__actor.url
func(*args, **kwargs)
# remove the process from pthreads
del self.host.pthreads[getcurrent()]
评论列表
文章目录