Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ActiveState/code
/ get
Method
get
recipes/Python/576576_Thread_Pool/recipe-576576.py:22–23 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
20
for
i in xrange(len(self.workers)-newSize):
21
self.jobs.put((None, None, None, None))
22
def
get(self):
23
return
len(self.workers)
24
return
get, set
25
def
add(self, job, callback=None, *args, **kw):
26
if
self.accept:
Callers
14
__init__
Method · 0.45
recordtype
Function · 0.45
__new__
Method · 0.45
_pool_work
Method · 0.45
wrapper
Function · 0.45
recipe-576370.py
File · 0.45
rgb_stack
Function · 0.45
fetch
Method · 0.45
_pull
Method · 0.45
__enter__
Method · 0.45
recipe-576729.py
File · 0.45
prop
Function · 0.45
Calls
no outgoing calls
Tested by
1
test_get
Method · 0.36