Re: [Cppcms-users] Mixing different types of applications
Brought to you by:
artyom-beilis
|
From: Christian G. <chr...@gm...> - 2012-11-20 13:03:55
|
Sorry for the noise... got it working - cppcms::mount_point
--
Christian Gmeiner, MSc
2012/11/20 Christian Gmeiner <chr...@gm...>:
> try {
> cppcms::service srv(argc,argv);
>
> // instantiate SSE application
> booster::intrusive_ptr<SSE> sse = new SSE(srv);
> srv.applications_pool().mount(sse);
>
> srv.applications_pool().mount(cppcms::applications_factory<Tssw>());
>
> srv.run();
> }
> catch(std::exception const &e) {
> std::cerr<<e.what()<<std::endl;
> }
>
> As you can see I want to mount a long running app with all my other
> "normal" apps.
>
>
> I only "normal" apps are working but not the long running once.. any hints?
>
> --
> Christian Gmeiner, MSc
|