mozilla/rust — pull request #2100 by Jonanin (2012-04-02 00:07:50+00:00)
Title: Use a queue to keep track of running and blocked tasks in rust_sched_loop

I originally had the linked list logic in sched_loop but it was messy, so I moved it out to a separate data structure class. Not sure how worth it this will be when blocked_tasks gets removed altogether, but here it is.