X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/ac077775e10886db490ab7331826a678aa946fc9..28a733a8823fedadc34a560935abdd17039cb100:/lib/crunchrun/executor.go?ds=sidebyside diff --git a/lib/crunchrun/executor.go b/lib/crunchrun/executor.go index 6ec5b838f6..29abab631f 100644 --- a/lib/crunchrun/executor.go +++ b/lib/crunchrun/executor.go @@ -51,8 +51,10 @@ type containerExecutor interface { // Start the container Start() error - // CID the container will belong to - CgroupID() string + // Process ID of a process in the container (return 0 or + // negative if container is finished or no process has started + // yet) + Pid() int // Stop the container immediately Stop() error