Cooperative multitasking for Ruby.