mirror of
https://github.com/emilk/egui.git
synced 2026-09-01 22:30:03 -04:00
Avoid deadlocks by using lambdas for context lock (#2625)
ctx.input().key_pressed(Key::A) -> ctx.input(|i| i.key_pressed(Key::A))
This commit is contained in:
5
examples/hello_world_par/README.md
Normal file
5
examples/hello_world_par/README.md
Normal file
@@ -0,0 +1,5 @@
|
||||
This example shows that you can use egui in parallel from multiple threads.
|
||||
|
||||
```sh
|
||||
cargo run -p hello_world_par
|
||||
```
|
||||
Reference in New Issue
Block a user