On 9/5/08, Stefano Sabatini <[EMAIL PROTECTED]> wrote: > Hi all, > > I have a multithreaded application, and I need to run the sofia-sip > event loop not in the main process context, but in the context of a > thread. > > I implemented it this way. > I implemented a method Run() which instantiates the thread instance > and makes it execute su_root_run(), and a Stop() method which > executes su_root_break() and wait for the thread termination. > > Unfortunately this apporach seems not to work, as I get this message > from the sofia stack: > nua(0x8729740): signal r_invite > SIPEngineTest: su_base_port.c:322: su_base_port_run: Assertion > `su_port_own_thread(self)' failed. > > and the process gets terminated by the SIGABRT signal. > > I'm currently stuck with it, can someone help/provide some hint?
Do I need to use the interface defined in su_wait.h? I was using the functions provided in another library for managing threading. [...] Regards. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel