1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-29 21:00:03 -04:00

Add single-threaded deadlock detection to RwMutex (#1619)

This commit is contained in:
Emil Ernerfeldt
2022-05-21 14:08:19 +02:00
committed by GitHub
parent 810b609a80
commit d6fd5dec3b
6 changed files with 93 additions and 3 deletions

View File

@@ -28,6 +28,11 @@ cint = ["epaint/cint"]
# implement bytemuck on most types.
bytemuck = ["epaint/bytemuck"]
# This will automatically detect deadlocks due to double-locking on the same thread.
# If your app freezes, you may want to enable this!
# Only affects `epaint::mutex::RwLock` (which egui uses a lot).
deadlock_detection = ["epaint/deadlock_detection"]
# If set, egui will use `include_bytes!` to bundle some fonts.
# If you plan on specifying your own fonts you may disable this feature.
default_fonts = ["epaint/default_fonts"]