It appears they do. From the AnyEvent docs: "Note that condition variables recurse into the event loop - if you have two pieces of code that call ->recv in a round-robin fashion, you lose. Therefore, condition variables are good to export to your caller, but you should avoid making a blocking wait yourself, at least in callbacks, as this asks for trouble."
On Sat, May 31, 2014 at 3:56 PM, sri <[email protected]> wrote: > If this thing got called 10 times at once, we'd be recursing into the >> event loop 10 times, on top of each other? >> > > Yes. > > >> I stole the idea from anyevent. Its what their conditional variables do. >> > > No, they do not, AnyEvent has to play by the same rules we do. > > >> So is the only proper way to solve my problem with Mojo::IOLoop::Delay >> steps? >> > > It is *a* proper way. > > -- > sebastian > > -- > You received this message because you are subscribed to the Google Groups > "Mojolicious" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/mojolicious. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Mojolicious" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/mojolicious. For more options, visit https://groups.google.com/d/optout.
