Paul Querna wrote:

I'm looking at the API exposed by mod_watchdog.h, and its not quite
feeling right.

If we want this to be an API used easily, I think we should just make
them proper timers (ie, run function X in singleton in 10 seconds),
and when the timer finishes, it can re-register -- this is far more
flexiable, and in the long term the API could be taken over by MPMs
that can better support it.

WDYT?

+1.

The Eclipse Jobs API works in a similar way. You register a job to run in X seconds, if you want to run the job again, you reregister the job just before you finish.

Regards,
Graham
--

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to