ansible: improve docstring

pull/612/head
David Wilson 5 years ago
parent 5811909c8d
commit 4f051a38a7

@ -509,9 +509,9 @@ class ClassicWorkerModel(WorkerModel):
This is an :mod:`atexit` handler installed in the top-level process. This is an :mod:`atexit` handler installed in the top-level process.
Shut the write end of `sock`, causing the receive side of the socket in Shut the write end of `sock`, causing the receive side of the socket in
every worker process to return 0-byte reads, and causing their main every :class:`MuxProcess` to return 0-byte reads, and causing their
threads to wake and initiate shutdown. After shutting the socket down, main threads to wake and initiate shutdown. After shutting the socket
wait on each child to finish exiting. down, wait on each child to finish exiting.
This is done using :mod:`atexit` since Ansible lacks any better hook to This is done using :mod:`atexit` since Ansible lacks any better hook to
run code during exit, and unless some synchronization exists with run code during exit, and unless some synchronization exists with

Loading…
Cancel
Save