vpi.Lock
- class vpi.Lock
Set a lock mode for container access.
To access the content of a container, e.g. an
image
, the lock mode of the access must be provided. There are two ways of setting the lock mode:Define it as an argument to an access method, e.g.
vpi.Container.lock()
;Define it by using a specific access method, e.g.
vpi.Container.wlock()
.
Enumeration values
Lock for read access.
Lock for write access.
Lock for read-and-write access.