Class | RR::TaskSweeper |
In: |
lib/rubyrep/task_sweeper.rb
|
Parent: | Object |
Executes the give block in a separate Thread. Returns if block is finished or stalled. The block must call regular ping to announce it is not stalled.
Returns the created sweeper (allows checking if task was terminated).
Returns true if the task was timed out. The terminated task is expected to free all resources and exit.