Re: [Cppcms-users] Unmount asynchronous application from application pool
Brought to you by:
artyom-beilis
|
From: Artyom B. <art...@ya...> - 2013-11-18 21:04:11
|
> Well thanks for the really helpful reply (not). First of all, instead of being sarcastic I'd suggest you to read... manual pages about signal handling and understand how the code in wiki works and why, also read about cppcms::service::shutdown, read about the event loop in the wiki and so on. As I told you, your pattern is wrong, you should be based on the pattern in wiki. What is wrong: - wrong signal handler - wrong exception implementation - wrong assumption about how exceptions are handled... etc Instead reinventing the wheel, do as I told you in the previous mails, all you need to reset the application pointer when the srv.run() exits, before you restart the service. |