containerd/runtime/v1/shim
Ace-Tang 079292e3fc fix: modify lock location of exec delete
func (e *execProcess) delete(ctx context.Context) error {
    e.wg.Wait()
...
}
delete exec process will wait for io copy finish, if wait here,
other process can not get lock of shim service.

1. apply lock around s.transition() calls in the Delete methods.
2. put lock after wait io copy in exec Delete.

Signed-off-by: Ace-Tang <aceapril@126.com>
2018-09-11 13:22:59 +08:00
..
client Runtime v2 2018-07-17 10:21:29 -04:00
v1 Runtime v2 2018-07-17 10:21:29 -04:00
local.go Runtime v2 2018-07-17 10:21:29 -04:00
reaper.go Runtime v2 2018-07-17 10:21:29 -04:00
service_linux.go Runtime v2 2018-07-17 10:21:29 -04:00
service_unix.go Runtime v2 2018-07-17 10:21:29 -04:00
service.go fix: modify lock location of exec delete 2018-09-11 13:22:59 +08:00