in reply to Re: Remote Monitoring using multi-threading
in thread Remote Monitoring using multi-threading

Coro is a cooperative multithreading environment that uses the same interface as threads. It integrates into other event loops such as AnyEvent's.

You could use Coro to do some unrelated processing while AnyEvent::FastPing is busy pinging machines. (It appears you can do related processing in a registered callback.)

Update: Very bad example removed.

  • Comment on Re^2: Remote Monitoring using multi-threading