locked property

bool locked
inherited

Whether this semaphore cannot be acquired immediately.

Implementation

bool get locked => _value == 0;