MutexWithPriority class
- Annotations
Constructors
- MutexWithPriority.new(int priority)
Properties
- at → DateTime
-
DateTime this Mutex was created at.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isLocked → bool
-
Indicates if a lock has been acquired and not released.
no setter
- priority → int
-
Priority of the Mutex.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
acquire(
) → Future< void> - Returns a future that will be completed when the lock has been acquired.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
release(
) → void - Releases a lock that has been acquired.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited