On date Friday 2008-09-12 10:57:00 +0300, [EMAIL PROTECTED] phoned this: > Hi, > > >-----Original Message----- > >From: [EMAIL PROTECTED] > >[mailto:[EMAIL PROTECTED] On > >Behalf Of ext Rémi BUISSON > >Sent: Friday, September 12, 2008 9:32 AM > >To: sofia-sip-devel@lists.sourceforge.net > >Subject: Re: [Sofia-sip-devel] Initialize sofia in the main > >context thread and run it in another thread > > > >DBus works on windows and you can attach both DBus loop and sofia-sip > >loop to a GMainLoop (glib works on windows to). > > An example is Telepathy-SofiaSIP: > http://telepathy.freedesktop.org/wiki/Components > > We disable threading in Sofia-SIP, and it works wonderfully in the > common main loop alongside DBus-Glib.
Yes but consider for example a gateway, when you don't want the sofia sip loop running in the main process thread, but in a new thread as the threads which manage the other protocols but SIP. Ideally the main thread should only init the various protocol handlers and make their event loops start, each one in a separate thread. 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