amdsmi
amdsmi copied to clipboard
Update event stop behavior to exit gracefully.
Fix for https://github.com/ROCm/amdsmi/issues/24
amd-smi event is failing to exit as it waits for all threads to complete before exiting. Each thread has to listen for a maximum of 10 seconds prior to exiting in the current implementation.
-
Lowered individual listen time for
_event_threadallowing for a quicker exit while still capturing all events as it's being looped until the escape sequence is detected. -
Added logging for escape character, not sure if needed but helps confirm that key press was registered