SharedMemoryWaitResult enum

Result of SharedMemory.atomicWait32 and SharedMemory.atomicWait64

Inheritance
Available extensions

Values

ok → const SharedMemoryWaitResult

Indicates that a wait completed by being awoken by a different thread. This means the thread went to sleep and didn't time out.

mismatch → const SharedMemoryWaitResult

Indicates that wait did not complete and instead returned due to the value in memory not matching the expected value.

timedOut → const SharedMemoryWaitResult

Indicates that wait completed with a timeout, meaning that the original value matched as expected but nothing ever called notify.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<SharedMemoryWaitResult>
A constant List of the values in this enum, in order of their declaration.