Skip to main content

Module activation

Module activation 

Source
Expand description

The activation lock.

The host app’s installer and updater own install, update and removal of this binary, its plugins and its hooks. What stays here is the lock that serializes anything mutating the state root.

Structs§

ActivationLock
Held for as long as the caller mutates the state root. The kernel-backed guard is released by the OS on drop or crash, so a killed activation never leaves the state root locked.

Functions§

acquire_lock
Take the activation lock under state_root, waiting up to 15 s.