MCPcopy Create free account
hub / github.com/microsoft/debugpy / grandchild

Function grandchild

tests/debugpy/test_multiproc.py:104–110  ·  view source on GitHub ↗
(q, a)

Source from the content-addressed store, hash-verified

102 print("leaving child")
103
104 def grandchild(q, a):
105 print("entering grandchild")
106 assert q.get() == "grandchild_pid?"
107 a.put(("grandchild_pid", os.getpid()))
108
109 assert q.get() == "exit!"
110 print("leaving grandchild")
111
112 if __name__ == "__main__":
113 start_method = sys.argv[1]

Callers

nothing calls this directly

Calls 2

putMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…