I have a system with integrated linux, and it is very important that it runs continuously. Basically, this is the process of transmitting data from sensors and transferring this data to a database and web client.
If a crash occurs, how can I restart the application automatically?
In addition, there are several threads that perform polling (for example, sockets and uart communications). How to ensure that none of the threads hangs or comes unexpectedly? Is there an easy-to-use thread-friendly watchdog?
source
share