mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
b75246202a
The daemon.containerd.Exec call does not access or mutate the container's ExecCommands store in any way, and locking the exec config is sufficient to synchronize with the event-processing loop. Locking the ExecCommands store while starting the exec process only serves to block unrelated operations on the container for an extended period of time. Convert the Store struct's mutex to an unexported field to prevent this from regressing in the future. Signed-off-by: Cory Snider <csnider@mirantis.com> |
||
---|---|---|
.. | ||
exec.go |