MCPcopy Create free account
hub / github.com/dabeaz/python-cookbook / server1.py

File server1.py

src/11/passing_a_socket_file_descriptor_between_processes/server1.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1# Example of file descriptor passing using multiprocessing
2
3import multiprocessing
4from multiprocessing.reduction import recv_handle, send_handle

Callers

nothing calls this directly

Calls 2

startMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected