[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Linphone-users] Does ortp_exit() function have a problem?
From: |
MASAO TAKAHASHI |
Subject: |
[Linphone-users] Does ortp_exit() function have a problem? |
Date: |
Fri, 4 Jun 2010 09:04:17 +0900 |
Dear Everybody.
I have a problem concerned with rtp_scheduler_schedule() function.
ortp_exit() function calls rtp_scheduler_destroy().
And rtp_scheduler_destroy() calls rtp_scheduler_stop().
rtp_scheduler_stop() executes rtp_thread_join(sched->thread, NULL).
But, rtp_scheduler_schedule() does not execute pthread_exit().
Otherwise rtp_scheduler_schedule() thread executes retuen NULL.
Is it right?
I recommend a change of rtp_scheduler_schedule() as belows.
void * rtp_scheduler_schedule(void * psched)
{
.
.
.
.
timer->timer_uninit();
- return NULL;
+ pthread_exit(*(0));
}
----------
MASAO TAKAHASHI <address@hidden>
KANNO WORKS CO., LTD. JAPAN
TEL 093-436-2330
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Linphone-users] Does ortp_exit() function have a problem?,
MASAO TAKAHASHI <=