inLock property

  1. @override
bool get inLock
override

for reentrant, test whether we are currently in the synchronized section. for non reentrant, it returns the locked status.

Implementation

@override
bool get inLock => inZone;