I would love to hear about your findings! We're looking at integrating Sofia into another event loop. Would be awesome if you could report back to the list!
Sent from my mobile apparatus On Apr 4, 2011, at 1:11 PM, Leandro Lucarella <llucare...@integratech.com.ar> wrote: > Pekka Pessi, el 4 de April a las 18:28 me escribiste: >> Hi, >> >> 2011/3/30 Leandro Lucarella <llucare...@integratech.com.ar>: >>> Hi, I noticed sofia has its own event loop and there is integration with >>> glib event loop. It is possible (and easy) to integrate sofia with other >>> event loop libraries? I'm interested in integrating it with libev >>> specifically. >> >> Integration is possible, the easiness depends how well the concepts >> suit with the other event loop libraries. See various su_*_port.c >> files for examples. >> >>> If not (possible or easy ;), is it sofia thread-safe? >> >> Sofia-SIP is threadsafe in the sense it uses no static data. >> >>> Can I enqueue >>> sofia events into my own loop and thus do the processing in another >>> thread (calling sofia API from another thread, different from where >>> sofia event loop is running)? >> >> The NUA API is supposed to do suit that model, iow, you should be able >> to call nua methods from multiple threads. Other APIs have some design >> problems. Your idea of queuing the events sounds interesting. ;) > > OK, thanks, I'll check if I can integrate Sofia-SIP with libev and if > not, I'll go with the parellel loop. > > -- > Leandro Lucarella > Integratech S.A. > 4571-5252 > > ------------------------------------------------------------------------------ > Xperia(TM) PLAY > It's a major breakthrough. An authentic gaming > smartphone on the nation's most reliable network. > And it wants your games. > http://p.sf.net/sfu/verizon-sfdev > _______________________________________________ > Sofia-sip-devel mailing list > Sofia-sip-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel