MCPcopy Create free account
hub / github.com/rthalley/dnspython / smultirun

Function smultirun

examples/doq.py:38–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36
37
38def smultirun():
39 with dns.quic.SyncQuicManager(verify_mode=tls_verify_mode) as manager:
40 connection = manager.connect(peer_address, peer_port)
41 t1 = threading.Thread(target=squery, args=["A", connection])
42 t1.start()
43 t2 = threading.Thread(target=squery, args=["AAAA", connection])
44 t2.start()
45 t1.join()
46 t2.join()
47
48
49async def aquery(rdtype="A", connection=None):

Callers 1

mainFunction · 0.85

Calls 1

connectMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…