[asterisk-commits] mmichelson: branch group/CCSS r214440 - /team/group/CCSS/main/ccss.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Aug 27 12:16:29 CDT 2009
Author: mmichelson
Date: Thu Aug 27 12:16:25 2009
New Revision: 214440
URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=214440
Log:
Add scheduler context for generic agent and monitor timers.
Modified:
team/group/CCSS/main/ccss.c
Modified: team/group/CCSS/main/ccss.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/group/CCSS/main/ccss.c?view=diff&rev=214440&r1=214439&r2=214440
==============================================================================
--- team/group/CCSS/main/ccss.c (original)
+++ team/group/CCSS/main/ccss.c Thu Aug 27 12:16:25 2009
@@ -76,6 +76,7 @@
};
struct ast_taskprocessor *cc_core_taskprocessor;
+struct sched_context *cc_sched;
struct ast_cc_config_params *__ast_cc_config_params_init(const char *file, int line, const char *function)
{
@@ -748,5 +749,8 @@
if (!(cc_core_taskprocessor = ast_taskprocessor_get("CCSS core", TPS_REF_DEFAULT))) {
return -1;
}
- return 0;
-}
+ if (!(cc_sched = sched_context_create())) {
+ return -1;
+ }
+ return 0;
+}
More information about the asterisk-commits
mailing list