containerd/runtime/v1
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
..
linux fix: modify lock location of exec delete 2018-09-11 13:22:59 +08:00
shim fix: modify lock location of exec delete 2018-09-11 13:22:59 +08:00