Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/buildbot/buildbot
/ execute_in_thread
Method
execute_in_thread
master/buildbot/util/queue.py:75–78 ·
view source on GitHub ↗
(self, cb, *args, **kwargs)
Source
from the content-addressed store, hash-verified
73
super().join(*args, **kwargs)
74
75
def
execute_in_thread(self, cb, *args, **kwargs):
76
d = defer.Deferred()
77
self._queue.put((d, cb, args, kwargs))
78
return
d
79
80
@property
81
def
conn(self):
Callers
9
join
Method · 0.95
test_single_item_called
Method · 0.80
test_single_item_called_exception
Method · 0.80
test_exception_does_not_break_further_work
Method · 0.80
test_single_item_called_disconnect
Method · 0.80
test_many_items_called_in_order
Method · 0.80
test_resets_after_reject
Method · 0.80
test_multiple_work_rejected
Method · 0.80
do
Method · 0.80
Calls
1
put
Method · 0.45
Tested by
7
test_single_item_called
Method · 0.64
test_single_item_called_exception
Method · 0.64
test_exception_does_not_break_further_work
Method · 0.64
test_single_item_called_disconnect
Method · 0.64
test_many_items_called_in_order
Method · 0.64
test_resets_after_reject
Method · 0.64
test_multiple_work_rejected
Method · 0.64