def _object_update_thread(list_lock, thread_info, _self=cmd): # WARNING: internal routine, subject to change while 1: list_lock.acquire() if not len(thread_info): list_lock.release() break else: info = thread_info.pop(0) list_lock.release() _cmd.object_update_thread(_self._COb, info)
def _object_update_thread(list_lock,thread_info,_self=cmd): # WARNING: internal routine, subject to change while 1: list_lock.acquire() if not len(thread_info): list_lock.release() break else: info = thread_info.pop(0) list_lock.release() _cmd.object_update_thread(_self._COb,info)