ruffle/desktop
Kamil Jarosz 3d04971ae4 desktop: Make WinitAsyncExecutor thread-safe and prevent deadlocks
Not thread-safe WinitAsyncExecutor was wrapped with a Mutex, making
any access to the instance exclusive. It was problematic, because
when a task was awoken from within another task, it resulted in
a deadlock, because the mutex was not reentrant.

This patch makes WinitAsyncExecutor thread-safe and changes how tasks
are locked. Specifically, instead of locking all tasks, only
the currently executed task is being locked. This allows waking any
other task from within it.
2024-03-05 23:14:08 +01:00
..
assets chore: Update translations from Crowdin 2024-03-05 22:56:34 +01:00
packages/macOS/Contents Update Info.plist 2022-12-04 13:54:54 +01:00
src desktop: Make WinitAsyncExecutor thread-safe and prevent deadlocks 2024-03-05 23:14:08 +01:00
Cargo.toml chore: Update `cpal` to `0.15.3` 2024-03-05 14:24:29 +01:00
build.rs Formatting 2023-06-27 21:37:28 +03:00