, I'd like commentary from the list.
-zefram
this watcher
+has any events pending in the event queue. In array context, returns
+a list of all the watcher's pending events.
=back
-zefram
watcher for which the poll
attribute has not been specified.
-zefram
. (wishlist) a cancel method on event objects would be nice
And now you get some respite from me, because I'm going on holiday
tomorrow. Back Monday evening (UK time).
-zefram
in the event queue. If they are
consistently treated as if they were, then promoting them to event
objects is invisible from the point of view of the documented interface.
It's exactly that invisibility that would be achieved by making -pending
perform promotions.
-zefram
()
sweep() will execute event handlers, will it not? I don't want to
do that.
-zefram
be an option on -pending,
-start, one_event, sweep, and loop, to say don't bother checking for
async events; it should also be possible to invoke asynccheck explicitly.
-zefram
Joshua N Pritikin wrote:
OK, can you provide a test script for generic watchers?
#!./perl -w
use Test; plan test = 10;
use Event;
require Event::generic;
my $src = Event::generic::Source-new;
ok $src;
my $w0 = Event-generic(parked = 1);
ok $w0;
eval { $w0-source(undef); };
ok $@, ;
eval {
Joshua N Pritikin wrote:
Can somebody suggest some other read-only variable or should I just
disable the test?
$$ $] $^V
Not many that are really guaranteed to remain read-only, are there.
-zefram
Joshua N Pritikin wrote:
I don't think this message reached the mailing list?
It did. I received it the first time, and I replied:
$$ $] $^V
Not many that are really guaranteed to remain read-only, are there.
-zefram
10 matches
Mail list logo