oh but wait... if you mean you want threads on your side to share it, I'd either give them all their own socket or share one on a mutex cos it's a socket and you can do i/o on it from 2 threads at once naturally. On Wed, Oct 12, 2011 at 4:06 PM, Anthony Minessale <anthony.minessale@gmail.com> wrote:
yes since its a socket and the other side is properly threaded. If you are using the in-tree ESL lib the client also has race condition protection
On Wed, Oct 12, 2011 at 1:06 PM, John Rose <johnrose@google.hm> wrote:
Does anyone know if calling Bgapi on an ESL connection is threadsafe? I’m calling it from ManagedESL via C# and have a lock around it but would like to remove the lock if possible…
John
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900