Pinned unix/macos/sync.rs. Atomic operations, compiler layouts and actual object allocation remain required effects; clock/queue/object policy is here.
@[reducible, inline]
Instances For
- ref : R
- initial : UInt64
Instances For
- none : Timeout
- relative (clock duration : OpTy Memory.Provenance) : Timeout
- absolute (clock duration : OpTy Memory.Provenance) : Timeout
Instances For
- endian : ABI.Endian
- runtime : Concurrency.SyncRuntime.Hooks S R Int32 (MPlaceTy Memory.Provenance)
- readPointer : OpTy Memory.Provenance → M S (Memory.Pointer (Option Memory.Provenance))
- readImmediate : OpTy Memory.Provenance → M S (RvalueImmTy Memory.Provenance)
- readUsize : OpTy Memory.Provenance → M S UInt64
- readIsize : OpTy Memory.Provenance → M S Int
- readU32 : OpTy Memory.Provenance → M S UInt32
- readU64 : OpTy Memory.Provenance → M S UInt64
- readI64 : OpTy Memory.Provenance → M S Int64
- timeout : Clock.TimeoutStyle → Clock.Duration → M S Concurrency.ThreadDeadline
- absoluteDeadline : UInt64 → M S Concurrency.ThreadDeadline
epoch().add_lossy(Duration::from_nanos(value)).
now().add_lossy(delta).duration_since(epoch()), exact host/virtual clock.
- readAcquireBits : Memory.Pointer (Option Memory.Provenance) → UInt64 → M S ABI.U128
- futexMetadata : Concurrency.SyncObject.MetadataHooks S R
- lockMetadata : Concurrency.SyncObject.Hooks S (Unfair R)
- semaphoreMetadata : Concurrency.SyncObject.Hooks S (Semaphore R)
- derefLock : OpTy Memory.Provenance → M S (MPlaceTy Memory.Provenance)
- derefByte : RvalueImmTy Memory.Provenance → M S (MPlaceTy Memory.Provenance)
- readLockValue : MPlaceTy Memory.Provenance → M S UInt32
- newMutex : M S R
- allocateRuntimeByte : M S (MPlaceTy Memory.Provenance)
- immediatePointer : RvalueImmTy Memory.Provenance → M S (Memory.Pointer (Option Memory.Provenance))
- deallocateRuntime : Memory.Pointer (Option Memory.Provenance) → M S Unit
- resetLockRelaxed : OpTy Memory.Provenance → M S Unit
- writePointer : Memory.Pointer (Option Memory.Provenance) → MPlaceTy Memory.Provenance → M S Unit
- writeInt : Int → MPlaceTy Memory.Provenance → M S Unit
- writeBool : Bool → MPlaceTy Memory.Provenance → M S Unit
- errnoNegOne : String → MPlaceTy Memory.Provenance → M S Unit
- hostUsizeBits : Nat
- semaphoreBudget : Nat
Instances For
def
Miri.Interpreter.MacOsSync.waitAddress
{S R : Type}
(h : Hooks S R)
(address value size flags : OpTy Memory.Provenance)
(timeout : Timeout)
(dest : MPlaceTy Memory.Provenance)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Miri.Interpreter.MacOsSync.wakeAddress
{S R : Type}
(h : Hooks S R)
(address size flags : OpTy Memory.Provenance)
(all : Bool)
(dest : MPlaceTy Memory.Provenance)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Miri.Interpreter.MacOsSync.tryLock
{S R : Type}
(h : Hooks S R)
(op : OpTy Memory.Provenance)
(dest : MPlaceTy Memory.Provenance)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Miri.Interpreter.MacOsSync.assertOwner
{S R : Type}
(h : Hooks S R)
(op : OpTy Memory.Provenance)
(owned : Bool)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Miri.Interpreter.MacOsSync.semaphoreCreate
{S R : Type}
(h : Hooks S R)
(value : OpTy Memory.Provenance)
(dest : MPlaceTy Memory.Provenance)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Miri.Interpreter.MacOsSync.semaphoreWait
{S R : Type}
(h : Hooks S R)
(sem timeout : OpTy Memory.Provenance)
(dest : MPlaceTy Memory.Provenance)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Miri.Interpreter.MacOsSync.semaphoreSignal
{S R : Type}
(h : Hooks S R)
(sem : OpTy Memory.Provenance)
(dest : MPlaceTy Memory.Provenance)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Miri.Interpreter.MacOsSync.release
{S R : Type}
(h : Hooks S R)
(sem : OpTy Memory.Provenance)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Miri.Interpreter.MacOsSync.dispatchTime
{S R : Type}
(h : Hooks S R)
(when delta : OpTy Memory.Provenance)
(dest : MPlaceTy Memory.Provenance)
:
Equations
- One or more equations did not get rendered due to their size.