Hi,
In our project there is a deamon
thread, which keeps running all the time.
But sometimes, (Not due to bad programming and not due to application errors, but due to some unknown errors, the thread terminates somehow).
Then the client has to restart the server.
He wants us to provide an option, where he can restart the thread himself?
How this can be done? Please suggest some suitable options that we can think of...
Creating another thread for monitoring the thread in question will be one option, but can we have something better. Because creating another thread just to monitor one, looks like creating another dependency just to remove the other.
Guys, waiting for your response.