Assertion : Can't call PJSIP function with an external thread.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ok thanks.

 

Actually I have change and not call function, but start a PJ_Thread (in external thread), and this thread just call the function.

 

But I'll see pj_thread_register() doc, and trying it.

 

Thanks.
 
> Date: Fri, 20 Mar 2009 22:45:59 +0700
> From: nanang@xxxxxxxxx
> To: pjsip at lists.pjsip.org
> Subject: Re: Assertion : Can't call PJSIP function with an external thread.
> 
> Hi,
> 
> Just register the thread (from its context) to pjlib, please see
> pj_thread_register() doc. If you searched the mailist archive, you
> should find bunch of similar topic :)
> 
> Regards,
> nanang
> 
> 
> 2009/3/20 cedric leveque <levequecedric at hotmail.com>:
> > Hi,
> >
> > I'm trying to integrate an C application in a PJSIP application.
> >
> > This external application use some thread, and I'm trying to call a function
> > Makecall to send an invite from this external thread.
> > But my function Makecall calls some PJSIP function like
> > pjsip_endpt_create_request.
> >
> > But I have an assertion that say pjlib detected that an external thread
> > trying to call a PJSIP function.
> >
> >
> > How can I do to not have this assertion ?
> >
> >
> > I can't modify the external thread to a PJ_Thread because these thread use a
> > functionnality that PJSIP haven't implement :
> > Block thread to wait free of ressource.
> >
> > Thanks,
> >
> > Regards,
> > C?dric.
> >
> > ________________________________
> > Vous voulez savoir ce que vous pouvez faire avec le nouveau Windows Live ?
> > Lancez-vous !
> > _______________________________________________
> > Visit our blog: http://blog.pjsip.org
> >
> > pjsip mailing list
> > pjsip at lists.pjsip.org
> > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
> >
> >
> 
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
> 
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

_________________________________________________________________
Vous voulez savoir ce que vous pouvez faire avec le nouveau Windows Live?? Lancez-vous !
http://www.microsoft.com/windows/windowslive/default.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090320/7d371b28/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux