diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-12-20 17:59:38 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-12-20 17:59:38 +0000 |
commit | 27e3e630ca8df00fab711a970bfa3ec97cdf4f97 (patch) | |
tree | 7cf4e324cf675acfd48716b88f8e8aae1861c0da /channels/chan_misdn.c | |
parent | c740b8463245a59c7fd2465384d75ce3af604ece (diff) |
Fix chan_misdn build after sched API changes.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@299134 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_misdn.c')
-rw-r--r-- | channels/chan_misdn.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/channels/chan_misdn.c b/channels/chan_misdn.c index b4bc94257..97eaba942 100644 --- a/channels/chan_misdn.c +++ b/channels/chan_misdn.c @@ -637,7 +637,7 @@ static struct robin_list *get_robin_position(char *group) /*! \brief the main schedule context for stuff like l1 watcher, overlap dial, ... */ -static struct sched_context *misdn_tasks = NULL; +static struct ast_sched_context *misdn_tasks = NULL; static pthread_t misdn_tasks_thread; static int *misdn_ports; @@ -3530,7 +3530,7 @@ static void misdn_tasks_init(void) chan_misdn_log(4, 0, "Starting misdn_tasks thread\n"); - misdn_tasks = sched_context_create(); + misdn_tasks = ast_sched_context_create(); pthread_create(&misdn_tasks_thread, NULL, misdn_tasks_thread_func, &blocker); while (sem_wait(&blocker) && --i) { @@ -3546,7 +3546,7 @@ static void misdn_tasks_destroy(void) cb_log(4, 0, "Joining misdn_tasks thread\n"); pthread_join(misdn_tasks_thread, NULL); } - sched_context_destroy(misdn_tasks); + ast_sched_context_destroy(misdn_tasks); } } |