Just a quick note that I've released scheduler 0.3, a very small library
which lets you schedule a block for execution at a future time, without
requiring a bajillion sleeping threads. Scheduled blocks can also be
cancelled before they run.
See the rdoc for usage details.
This is a bugfix release, which fixes a problem where the event loop
ends up busy-waiting.
The library is available via Rubygems, or here:
http://rubyforge.org/frs/?group_id=3644&release_id=15091
-mental
Do you have a little example to use it?
Thank you
Mental Guy wrote:
···
Just a quick note that I've released scheduler 0.3, a very small library
which lets you schedule a block for execution at a future time, without
requiring a bajillion sleeping threads. Scheduled blocks can also be
cancelled before they run.
See the rdoc for usage details.
This is a bugfix release, which fixes a problem where the event loop
ends up busy-waiting.
The library is available via Rubygems, or here:
http://rubyforge.org/frs/?group_id=3644&release_id=15091
-mental
--
Posted via http://www.ruby-forum.com/\.