Hi, Marc,

>first of all, is this dead, or is everybody on vacation? ;)

I dont't think this list is dead. My experience is that it is rather
silent until a question comes up, which then usually causes a related
discussion. Additionally, Joshua is travelling now and has no permanent
mail access. If he can mail, he usually answers very quickly.

>   Event->add_hook(prepare => sub {[...]

I confess I did not use Event hooks yet ...

>[...]
>Are the event objects being reused in a way that makes it impossible to
>extend their life over the callback itself?

Hm. What I'm asking myself thinking about this is what special kind of
information is provided by stored (but already handled) Event::Event
objects in your queue (taking into account that this is an intermediate
structure just built for the callback) ... is this an information that
cannot be catched another way? Could it be stored for itself, without
the Event::Event object?

As I know an Event::Event object is destroyed after callback execution.
Now with your queue, there's an additional reference to it so it will
not be garbage collected. *If* it wont be destroyed but reused
internally (which could make sense to accelerate things), this might
cause trouble, but to answer this, I assume we have to wait for Joshua
or have to look at the code ...

          Jochen







Reply via email to