struct PackageWriteLock

Information about an acquired package write lock.

Public

Constructors

PackageWriteLock

PackageWriteLock(RuntimePackageInformation *runtimePackageInformation, Mutex &lockMutex, const char *lockReason)

Methods

~PackageWriteLock

~PackageWriteLock()

GetPackage

const SPtr<Package> &GetPackage() const

Returns the package this lock is acquired for.

ClearPackageInformation

void ClearPackageInformation()

Clears the package information.

To be called when a package has been deleted while holding the write lock.

Fields

LockMutex

Mutex & LockMutex