Windows: Updates Windows Vendoring
Updates windows dependent libraries for vendoing.
This commit is contained in:
11
vendor/github.com/Microsoft/hcsshim/internal/uvm/counter.go
generated
vendored
Normal file
11
vendor/github.com/Microsoft/hcsshim/internal/uvm/counter.go
generated
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
package uvm
|
||||
|
||||
import (
|
||||
"sync/atomic"
|
||||
)
|
||||
|
||||
// ContainerCounter is used for where we layout things for a container in
|
||||
// a utility VM. For WCOW it'll be C:\c\N\. For LCOW it'll be /run/gcs/c/N/.
|
||||
func (uvm *UtilityVM) ContainerCounter() uint64 {
|
||||
return atomic.AddUint64(&uvm.containerCounter, 1)
|
||||
}
|
Reference in New Issue
Block a user