MCPcopy Create free account
hub / github.com/ActiveState/code / __init__

Method __init__

recipes/Python/576576_Thread_Pool/recipe-576576.py:41–44  ·  view source on GitHub ↗
(self, pool)

Source from the content-addressed store, hash-verified

39
40class Worker(Thread):
41 def __init__(self, pool):
42 Thread.__init__(self)
43 self.pool = pool
44 self.cmd=''
45 def run(self):
46 get=self.pool.jobs.get
47 while True:

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected