Files
OpenCore-Legacy-Patcher/opencore_legacy_patcher/wx_gui
Gonen 4ce91cad3d [WIP] GUI: Reduce CPU usage by adding sleep intervals to UI wait loops
Fix issue where the GUI main thread was consuming excessive CPU while
waiting for background tasks to complete.
By adding a configurable sleep interval between UI updates,
CPU usage is significantly reduced while maintaining responsiveness.

- Add thread_sleep_interval constant to global Constants class
- Implement wait_for_thread utility function in gui_support
- Update all wxPython event loops to use the new helper
- Test shows approximately 60% CPU usage reduction during waits
2025-04-03 23:18:48 +03:00
..
2024-03-31 21:27:36 -06:00
2024-03-31 21:27:36 -06:00
2024-07-21 13:53:52 -06:00