Re: [Cppcms-users] Threads in async apps disappear if program is daemonized
Brought to you by:
artyom-beilis
|
From: CN <cn...@fa...> - 2013-12-20 09:26:08
|
The compilable code can also be found at http://pastie.org/8565179 Please switch "daemon" on and off in config.js and run tests: "daemon":{ "enable":true, //"enable":false, } and comment/uncomment the following to sets of statements to see different results: set (1): booster::intrusive_ptr<async_app> async_app_=new async_app(s); s.applications_pool().mount(async_app_,cppcms::mount_point("^/async_app/(.+)",1)); set (2): s.applications_pool().mount(new async_app(s),cppcms::mount_point("^/async_app/(.+)",1)); Regards, CN -- http://www.fastmail.fm - IMAP accessible web-mail |