コード例 #1
0
 def __init__(self,threadPool):
     Synchronized.__init__(self)
     self._threadPool=threadPool
     ThreadPoolInfo._cnt+=1
     ThreadPoolInfo._inst+=1
     self._busy=0
コード例 #2
0
 def __init__(self):
     Synchronized.__init__(self)
     self._cfg={"loop":False}
     self._loop=True
     self._isClosed=False
コード例 #3
0
 def __init__(self,max,startValue=0):
     Synchronized.__init__(self)
     self._num=max
     self._busy=startValue