about summary refs log tree commit diff
path: root/src/libstd/rt/select.rs
AgeCommit message (Collapse)AuthorLines
2013-08-12Reorganise Select traits to not expose internal runtime types. Close #5160. ↵Ben Blum-305/+5
Pending #8215.
2013-08-10Mass rename of .consume{,_iter}() to .move_iter()Erick Tryzelaar-3/+3
cc #7887
2013-08-08auto merge of #8356 : toddaaro/rust/ws, r=brsonbors-0/+2
This pull request converts the scheduler from a naive shared queue scheduler to a naive workstealing scheduler. The deque is still a queue inside a lock, but there is still a substantial performance gain. Fiddling with the messaging benchmark I got a ~10x speedup and observed massively reduced memory usage. There are still *many* locations for optimization, but based on my experience so far it is a clear performance win as it is now.
2013-08-08Enabled workstealing in the scheduler. Previously we had one global work ↵toddaaro-0/+2
queue shared by each scheduler. Now there is a separate work queue for each scheduler, and work is "stolen" from other queues when it is exhausted locally.
2013-08-07fix recv_ready for Port to take &self and not need to return a tuple. Close ↵Ben Blum-3/+1
#8192.
2013-08-03remove obsolete `foreach` keywordDaniel Micay-7/+7
this has been replaced by `for`
2013-08-02replace `range` with an external iteratorDaniel Micay-2/+2
2013-08-01migrate to foreachDaniel Micay-2/+2
2013-08-01std: Change `Times` trait to use `do` instead of `for`blake2-ppc-2/+2
Change the former repetition:: for 5.times { } to:: do 5.times { } .times() cannot be broken with `break` or `return` anymore; for those cases, use a numerical range loop instead.
2013-08-01migrate many `for` loops to `foreach`Daniel Micay-5/+5
2013-07-30Unkillable is not unsafe. Close #7832.Ben Blum-23/+21
2013-07-30Add test cases for selectBen Blum-0/+228
2013-07-30Implement select() for new runtime pipes.Ben Blum-0/+102