inLock property

bool get inLock

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

Implementation

bool get inLock;