ansible: improve docstring

This commit is contained in:
David Wilson 2019-08-04 11:47:54 +01:00
parent 5811909c8d
commit 4f051a38a7
1 changed files with 3 additions and 3 deletions

View File

@ -509,9 +509,9 @@ class ClassicWorkerModel(WorkerModel):
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
every worker process to return 0-byte reads, and causing their main
threads to wake and initiate shutdown. After shutting the socket down,
wait on each child to finish exiting.
every :class:`MuxProcess` to return 0-byte reads, and causing their
main threads to wake and initiate shutdown. After shutting the socket
down, wait on each child to finish exiting.
This is done using :mod:`atexit` since Ansible lacks any better hook to
run code during exit, and unless some synchronization exists with