21021: Merge branch 'main' into 21021-controller-logout
[arvados.git] / lib / crunchrun / executor.go
index 6ec5b838f681fe3c03a778f966c58979763f9031..308b05cdeb33b529d46564658cdb5c6dcfc8b1af 100644 (file)
@@ -51,8 +51,9 @@ 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 if
+       // container is finished or no process has started yet.
+       Pid() int
 
        // Stop the container immediately
        Stop() error