MCPcopy Index your code
hub / github.com/RustPython/RustPython / detach

Method detach

Lib/test/test_socket.py:7420–7422  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7418 s.close()
7419
7420 def detach():
7421 for _ in range(1000):
7422 s.detach()
7423
7424 t1 = threading.Thread(target=close)
7425 t2 = threading.Thread(target=detach)

Callers 13

childMethod · 0.45
_test_socket_filenoMethod · 0.45
testDetachMethod · 0.45
test_finalizeMethod · 0.45
test_orderMethod · 0.45
test_response_filenoMethod · 0.45
get_high_socket_fdMethod · 0.45
test_detachMethod · 0.45
test_detach_flushMethod · 0.45
test_reprMethod · 0.45
closedMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected