readLock

fun readLock(sharedResource: SharedResource)
fun readLock(sharedResourceName: String)

Adds a read lock to specified shared resource