how to commmunicate the configuration changes to running process
Hi,
I'm trying to intimate all the application(multithreaded)process, when the configuration change happens, Think, 1. possible is to send signal and handle it in every process, 2. send ipc message to all process, Please do know, what is the standard way to update process if the configuration change happes Scenario is that all the processe has its own datastructures which is global, need to update the same when config file change. |
Send a signal; many daemon processes respond to the SIGHUP signal when they are required to be restarted (typically due to a configuration change).
|
All times are GMT -5. The time now is 08:51 PM. |