Metadata wrappers from pinned concurrency/sync.rs:18–62,302–446. Registry payloads are typed by the caller: mismatched dynamic types must return none, causing replacement just as dyn SyncObj::downcast_ref does in source.
@[reducible, inline]
Instances For
- read : AccessKind
- write : AccessKind
- deallocation : AccessKind
Instances For
@[instance_reducible]
@[instance_reducible]
Equations
Equations
- One or more equations did not get rendered due to their size.
Instances For
- payload : Payload
- onAccess : AccessKind → M S Unit
- deleteOnWrite : Bool
Instances For
- allocation : Memory.AllocId
- offset : ABI.Size
Instances For
- tryResolve : Memory.Pointer (Option Memory.Provenance) → M S (Option Address)
- resolve : Memory.Pointer (Option Memory.Provenance) → M S Address
- info : Memory.AllocId → M S Info
- checkAccess : Memory.Pointer (Option Memory.Provenance) → ABI.Size → M S Unit
- offset : Interpreter.MPlaceTy Memory.Provenance → ABI.Size → M S (Interpreter.MPlaceTy Memory.Provenance)
- compareExchangeByteRelaxed : Interpreter.MPlaceTy Memory.Provenance → UInt8 → UInt8 → M S (UInt8 × Bool)
- writeZeros : Memory.Pointer (Option Memory.Provenance) → ABI.Size → M S Unit
- writeByte : Interpreter.MPlaceTy Memory.Provenance → UInt8 → M S Unit
Instances For
- tryResolve : Memory.Pointer (Option Memory.Provenance) → M S (Option Address)
- resolve : Memory.Pointer (Option Memory.Provenance) → M S Address
- info : Memory.AllocId → M S Info
Instances For
def
Miri.Concurrency.SyncObject.getOrInitMetadata
{S T : Type}
(h : MetadataHooks S T)
(pointer : Memory.Pointer (Option Memory.Provenance))
(new : M S (Object S T))
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Miri.Concurrency.SyncObject.getOrInit
{S T : Type}
(h : Hooks S T)
(pointer : Memory.Pointer (Option Memory.Provenance))
(new : M S (Object S T))
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Miri.Concurrency.SyncObject.getImmovableWithStaticInit
{S T : Type}
(h : Hooks S T)
(obj : Interpreter.MPlaceTy Memory.Provenance)
(initOffset : ABI.Size)
(uninitValue initValue : UInt8)
(new : M S (Object S T))
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Miri.Concurrency.SyncObject.initImmovable
{S T : Type}
(h : Hooks S T)
(obj : Interpreter.MPlaceTy Memory.Provenance)
(initOffset : ABI.Size)
(initValue : UInt8)
(metadata : Object S T)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
Complete live registry; access traverses ascending byte offsets, as BTreeMap.
- remove : Memory.AllocId → ABI.Size → M S Unit
Instances For
def
Miri.Concurrency.SyncObject.onMemoryAccess
{S T : Type}
(h : AccessHooks S T)
(allocation : Memory.AllocId)
(start size : ABI.Size)
(kind : AccessKind)
:
Equations
- One or more equations did not get rendered due to their size.