mirror of
https://github.com/InsanusMokrassar/MicroUtils.git
synced 2024-11-26 12:08:45 +00:00
commit
473eb87346
@ -1,5 +1,14 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 0.20.11
|
||||||
|
|
||||||
|
* `Versions`:
|
||||||
|
* `Kotlin`: `1.9.20-RC2` -> `1.9.20`
|
||||||
|
* `Exposed`: `0.44.0` -> `0.44.1`
|
||||||
|
* `Compose`: `1.5.10-rc02` -> `1.5.10`
|
||||||
|
* `Coroutines`:
|
||||||
|
* `SmartRWLocker` now will wait first unlock of write mutex for acquiring read
|
||||||
|
|
||||||
## 0.20.10
|
## 0.20.10
|
||||||
|
|
||||||
* `Versions`:
|
* `Versions`:
|
||||||
|
@ -23,6 +23,7 @@ class SmartRWLocker(private val readPermits: Int = Int.MAX_VALUE, writeIsLocked:
|
|||||||
* Do lock in [readSemaphore] inside of [writeMutex] locking
|
* Do lock in [readSemaphore] inside of [writeMutex] locking
|
||||||
*/
|
*/
|
||||||
suspend fun acquireRead() {
|
suspend fun acquireRead() {
|
||||||
|
_writeMutex.waitUnlock()
|
||||||
_readSemaphore.acquire()
|
_readSemaphore.acquire()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -15,5 +15,5 @@ crypto_js_version=4.1.1
|
|||||||
# Project data
|
# Project data
|
||||||
|
|
||||||
group=dev.inmo
|
group=dev.inmo
|
||||||
version=0.20.10
|
version=0.20.11
|
||||||
android_code_version=216
|
android_code_version=217
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
[versions]
|
[versions]
|
||||||
|
|
||||||
kt = "1.9.20-RC2"
|
kt = "1.9.20"
|
||||||
#compose-kotlin = "1.5.10-beta02"
|
#compose-kotlin = "1.5.10-beta02"
|
||||||
kt-serialization = "1.6.0"
|
kt-serialization = "1.6.0"
|
||||||
kt-coroutines = "1.7.3"
|
kt-coroutines = "1.7.3"
|
||||||
|
|
||||||
kslog = "1.2.2"
|
kslog = "1.2.2"
|
||||||
|
|
||||||
jb-compose = "1.5.10-rc02"
|
jb-compose = "1.5.10"
|
||||||
jb-exposed = "0.44.0"
|
jb-exposed = "0.44.1"
|
||||||
jb-dokka = "1.9.10"
|
jb-dokka = "1.9.10"
|
||||||
|
|
||||||
korlibs = "4.0.10"
|
korlibs = "4.0.10"
|
||||||
@ -22,7 +22,7 @@ koin = "3.5.0"
|
|||||||
|
|
||||||
okio = "3.6.0"
|
okio = "3.6.0"
|
||||||
|
|
||||||
ksp = "1.9.20-RC2-1.0.13"
|
ksp = "1.9.20-1.0.13"
|
||||||
kotlin-poet = "1.14.2"
|
kotlin-poet = "1.14.2"
|
||||||
|
|
||||||
versions = "0.49.0"
|
versions = "0.49.0"
|
||||||
|
Loading…
Reference in New Issue
Block a user