-
Igor Demin authored
We run FrameLimiter in another thread in SoftwareRedrawer. So FrameLimiter should be thread-safe. It is not thread safe now. We can run it from the Swing thread though, but probably it will be used in Compose directly, where can be multiple threads (in Application frame clock, for example) Deadlock: [couroutine 2] onRequest.trySend(Unit) [couroutine 1] onRequest.receive() [couroutine 1] onResult.getAndSet(CompletableDeferred()).complete(value) [couroutine 2] onResult.get().await() // wait [couroutine 1] onRequest.receive() // wait
| Name |
Last commit
|
Last update |
|---|---|---|
| .github/workflows | ||
| .run | ||
| gradle/wrapper | ||
| samples | ||
| skiko | ||
| .gitignore | ||
| LICENSE | ||
| README.md | ||
| gradlew | ||
| gradlew.bat | ||
| settings.gradle |