Exercise: Commit/Rollback Via SIGUSR1/SIGUSR2#
In the last exercise, we added graceful termination to our database application. The application then has a chance to commit the changes before exiting.
Lets add more commit/rollback logic to the application so that it
reacts on two more signals, SIGUSR1 and SIGUSR2.
SIGUSR1commits the databaseSIGUSR2rolls back the database