All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jvmCommonMain.earth.worldwind.util.SynchronizedPool.kt Maven / Gradle / Ivy

Go to download

The WorldWind Kotlin SDK (WWK) includes the library, examples and tutorials for building multiplatform 3D virtual globe applications for Android, Web and Java.

There is a newer version: 1.5.23
Show newest version
package earth.worldwind.util

actual open class SynchronizedPool: BasicPool() {
    protected val lock: Any = Any()

    override fun acquire() = synchronized(lock) { super.acquire() }

    override fun release(instance: T?) = synchronized(lock) { super.release(instance) }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy