3d04971ae4
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. |
||
---|---|---|
.. | ||
assets | ||
packages/macOS/Contents | ||
src | ||
Cargo.toml | ||
build.rs |