[iolib-devel] Running io handler periodically

Nikolay V. Razbegaev marsijanin at gmail.com
Mon May 17 18:24:50 UTC 2010


Hello!

Is it possible to make io handler, that will be running periodically,
i.e. not every time when io will be possible? `iomux:set-io-handler'
have `:timeout' &key parameter, but, as i understand, it is poll
timeout.

Of course I cat call `sleep' inside io handler body, but it will be
freeze all other handlers in this thread too. So, can I run
`iomux:event-base' io handler periodically w/o `sleep' dirty hack?

Thank you.

Nikolay.





More information about the iolib-devel mailing list