def finallyProcess(self, _edObject=None): """ after processing of the plugin: Release a CPU resource by releasing the semaphore """ EDVerbose.DEBUG("Release semaphore nbCPU by plugin %s, currently value: %s" % (self.getPluginName(), EDUtilsParallel.getSemaphoreValue())) EDUtilsParallel.semaphoreNbThreadsRelease() EDPlugin.finallyProcess(self, _edObject)
def finallyProcess(self, _edObject=None): """ after processing of the plugin: Release a CPU resource by releasing the semaphore """ self.DEBUG("Release semaphore nbCPU by plugin %s" % self.getPluginName()) EDUtilsParallel.semaphoreNbThreadsRelease() EDPlugin.finallyProcess(self, _edObject)
def finallyProcess(self, _edObject=None): """ after processing of the plugin: Release a CPU resource by releasing the semaphore """ EDVerbose.DEBUG( "Release semaphore nbCPU by plugin %s, currently value: %s" % (self.getPluginName(), EDUtilsParallel.getSemaphoreValue())) EDUtilsParallel.semaphoreNbThreadsRelease() EDPlugin.finallyProcess(self, _edObject)
def finallyProcess(self, _edObject=None): EDPlugin.finallyProcess(self, _edObject) EDVerbose.DEBUG("EDPluginWrapperForJobScheduler.finallyProcess") while not self.__bFinished: time.sleep(1)