MCPcopy Index your code
hub / github.com/dabeaz/python-cookbook / example1.py

File example1.py

src/12/how_to_create_a_thread_pool/example1.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1from socket import AF_INET, SOCK_STREAM, socket
2from concurrent.futures import ThreadPoolExecutor
3
4def echo_client(sock, client_addr):

Callers

nothing calls this directly

Calls 1

echo_serverFunction · 0.70

Tested by

no test coverage detected