On 10/09/2013 09:44 AM, Vikas N Kumar wrote: > Do I still need to call AnyEvent->condvar->recv ? Prima already has a > Prima::run event loop calling module. Do you think the tcp_connect() > will automatically get called by Prima's event loop. Answering my own question. One should not use "run Prima" but create an AnyEvent->timer object called say every 1/20th of a second and invoke "$::application->yield" in it. This will allow for Prima to work along with AnyEvent. And yes we need to call AnyEvent->condvar->recv at the end as well.
Thanks. Vikas _______________________________________________ anyevent mailing list [email protected] http://lists.schmorp.de/mailman/listinfo/anyevent
