blob: 6f51cbeb31e1e332bf847de66557a7fb6ab92a3a [file] [log] [blame]
/*
* Copyright 2016-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/
package kotlinx.coroutines.experimental.internal
internal expect open class SynchronizedObject() // marker abstract class
@PublishedApi
internal expect inline fun <T> synchronized(lock: SynchronizedObject, block: () -> T): T