Event::MakeMaker describes a callback like this:
static void x_server_dispatch(void *ext_data)
However, it is (quite sensibly) being called as:
(* (void(*)(pe_event*)) ev->callback)(ev);
this is especially bad as callback is a void *, so there is no type
checking.
--
I too, wonder if this list has taken a vacation ... 8-)
I don't have an answer for the earlier question, though. I have another
question.
I've got two timer events with the same interval but different callbacks.
One of them gets called, and runs for a time longer than the interval. The
other ne
first of all, is this dead, or is everybody on vacation? ;)
anyway, my webserver gets a memory fault about every half an hour (high
load). It runs fine when my callbacks are structured like this:
sub callback {
# ... use event structure
return;
}
but when my callbacks look lik