MCPcopy
hub / github.com/dmlc/dgl / wait

Method wait

python/dgl/storages/base.py:59–62  ·  view source on GitHub ↗

Blocks the current thread until the result becomes available and returns it.

(self)

Source from the content-addressed store, hash-verified

57 self.thread = thread
58
59 def wait(self):
60 """Blocks the current thread until the result becomes available and returns it."""
61 self.thread.join()
62 return self.buf[0]
63
64
65class FeatureStorage(object):

Callers 15

_await_or_returnFunction · 0.45
__next__Method · 0.45
init_processFunction · 0.45
updateMethod · 0.45
updateMethod · 0.45
_shared_setupMethod · 0.45
setupMethod · 0.45
setupMethod · 0.45
updateMethod · 0.45
__init__Method · 0.45
_all_get_tensorMethod · 0.45

Calls 1

joinMethod · 0.45