MCPcopy Index your code
hub / github.com/python/cpython / add_result

Method add_result

Lib/concurrent/futures/_base.py:75–78  ·  view source on GitHub ↗
(self, future)

Source from the content-addressed store, hash-verified

73 self.lock = threading.Lock()
74
75 def add_result(self, future):
76 with self.lock:
77 super(_AsCompletedWaiter, self).add_result(future)
78 self.event.set()
79
80 def add_exception(self, future):
81 with self.lock:

Callers

nothing calls this directly

Calls 3

superClass · 0.85
add_resultMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected