ansible: improve docstring
This commit is contained in:
parent
5811909c8d
commit
4f051a38a7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue