Re: [Cppcms-users] event driven functions inside CppCMS 1x
Brought to you by:
artyom-beilis
From: Artyom <art...@ya...> - 2011-01-05 17:37:00
|
----- Original Message ---- > From: Якунин Владимир <sla...@ya...> > To: cpp...@li... > Sent: Wed, January 5, 2011 12:13:23 PM > Subject: [Cppcms-users] event driven functions inside CppCMS 1x > > Hello Artyom and Happy New Year! > > Whether there is an elegant way to use threaded callback functions inside >CppCMS? > As i know - CppCMS use Asio & boost::thread - so i still can use boost::thread >natively > (with some callback template inside calling). But may have a more ready >solution inside CppCMS? > Hello, You should be more specific about what you mean. If you want to post something for execution in the event loop you can use cppcms::service::post if you want to post something for execution in thread pool you can cppcms::service::thread_pool. Artyom > ------------------------------------------------------------------------------ > Learn how Oracle Real Application Clusters (RAC) One Node allows customers > to consolidate database storage, standardize their database environment, and, > should the need arise, upgrade to a full multi-node Oracle RAC database > without downtime or disruption > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > |