Closed gtxaspec closed 3 weeks ago
use pthread_join(reboot_pthread, NULL); , so it waits for the reboot_pthread to complete before proceeding. This ensures that the main thread does not exit prematurely,
pthread_join(reboot_pthread, NULL);
Thank you for your pr.
use
pthread_join(reboot_pthread, NULL);
, so it waits for the reboot_pthread to complete before proceeding. This ensures that the main thread does not exit prematurely,