MCPcopy Create free account
hub / github.com/brmmm3/fastthreadpool / release

Method release

fastthreadpool/fastthreadpool.py:122–129  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

120
121 #c cpdef void release(self):
122 def release(self): #p
123 self._value += 1
124 if self._value >= 0:
125 #c pythread.PyThread_release_lock(self._lock)
126 try: #p
127 self._lock.release() #p
128 except RuntimeError: #p
129 pass #p
130
131
132class TimerObj(object):

Callers 14

threading_SemaphoreMethod · 0.95
_busy_lock_incMethod · 0.80
_busy_lock_decMethod · 0.80
_done_cnt_incMethod · 0.80
_append_failedMethod · 0.80
_childMethod · 0.80
_submitMethod · 0.80
as_completedMethod · 0.80
shutdown_childrenMethod · 0.80
shutdownMethod · 0.80
ex_semaphore.pyFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected