[Freeswitch-users] EventConsumer and multi-threading

Anthony Minessale anthony.minessale at gmail.com
Mon May 17 17:00:25 PDT 2010


if you update to latest the eventConsumer has a flush() method to remove all
events
also it should do this when you destroy the object.


On Sun, May 16, 2010 at 4:07 AM, babak yakhchali <babak.freeswitch at gmail.com
> wrote:

> Hi
> I'm using mod_managed and I've used EventConsumer on a thread to listen for
> incomming events but whenever I wanna reload the .dll file of my script it
> complains about thread aborting. I used a dummy custom:dead event to end the
> thread but next time my dll loaded the custom:dead event is still in events
> and the tread ends. Is there any workaround to flush EventConsumer??
> Thanks
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at 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 at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:+19193869900
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100517/442c59eb/attachment.html 


More information about the FreeSWITCH-users mailing list