note
Corion
<p>If you have code you don't want interrupted, don't yield to AnyEvent functions, it's that simple.</p>
<p>AnyEvent does not run anything in parallel, so as long as you are running your own Perl code, and not calling <c>->recv</c>, <c>->send</c> or <c>->timer</c>, the AnyEvent loop won't run and your code will stay in the critical section uninterrupted.</p>
905330
905330