lockUsesToDeclarations

fun <T> lockUsesToDeclarations(action: RunTree<LongRange>.() -> T): T

Access the usesToDeclarations in the action while holding the lock.

Parameters

action

The action to perform with usesToDeclarations while holding the lock.