amdsmi icon indicating copy to clipboard operation
amdsmi copied to clipboard

Update event stop behavior to exit gracefully.

Open harkgill-amd opened this issue 1 year ago • 0 comments

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.

  1. Lowered individual listen time for _event_thread allowing for a quicker exit while still capturing all events as it's being looped until the escape sequence is detected.

  2. Added logging for escape character, not sure if needed but helps confirm that key press was registered

harkgill-amd avatar Sep 17 '24 14:09 harkgill-amd