[Cppcms-users] Passing objects to application pool from outside
Brought to you by:
artyom-beilis
|
From: Sab <rim...@gm...> - 2013-01-09 12:32:55
|
Hi guys, I’m running the CppCMS service as an own thread that I start in my applications main (the main has other tasks to do, so I can’t block it). In the cppcms::application classes I would like to have access to an object that is created outside the service, in my main, before the CppCMS service is started. What would be the best way to pass a pointer of this object to the applications, so that I can safely access its functions while processing requests? Sab |