JuliaLang/julia — pull request #6448 by tanmaykm (2014-04-07 06:08:42+00:00)
Title: task iter does not consume in done call. fixes #6447

This changes the iterator for `Task` to consume only in `start` and `next` calls.
The `istaskstarted` check in `start` is to allow it to be called multiple times from `isempty`.