lockAllDeclarations

fun <T> lockAllDeclarations(action: MutableSet<LongRange>.() -> T): T

Access the allDeclarations in the action while holding the lock.

Parameters

action

The action to perform with allDeclarations while holding the lock.