in reply to Re: AnyEvent: How to protect critical sections?
in thread AnyEvent: How to protect critical sections?
I simply don't want the timer callback to be executed while the http request is under way, but *right after*.
I guess I could just restart the timer and try to execute the interrupt later, but that's a) non-deterministic because it could fail again and b) not very efficient because I'd like to run it as soon as the http request has been completed.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: AnyEvent: How to protect critical sections?
by Corion (Patriarch) on May 17, 2011 at 20:43 UTC | |
by saintmike (Vicar) on May 17, 2011 at 20:56 UTC | |
by Corion (Patriarch) on May 17, 2011 at 21:03 UTC | |
by saintmike (Vicar) on May 17, 2011 at 21:25 UTC | |
by Anonymous Monk on May 18, 2011 at 19:55 UTC |