c++ - Is possible to hook some callback and then send some event/signal/interrupt from command line to running process -


i have c++ process running forever , data in memory (not in database). need change code , deploy new version , need stop process before need serialize file and/or save database ( have function inside running class can that). how trigger function, possible hook callback , send event/signal/interrupt command line ? ( can use 0mq , add command inside wonder there more elegant solution this).


Comments

Popular posts from this blog

java - Intellij Synchronizing output directories .. -

git - Initial Commit: "fatal: could not create leading directories of ..." -