]> git.lizzy.rs Git - rust.git/commit
Added infrastructure to spin for a bit on recv. A spin count > 0 makes bench/pingpong...
authorEric Holk <eric.holk@gmail.com>
Tue, 24 Jul 2012 16:35:44 +0000 (09:35 -0700)
committerEric Holk <eric.holk@gmail.com>
Wed, 25 Jul 2012 19:12:25 +0000 (12:12 -0700)
commitf5be06fa1fed6d9f9467bc644e78292bf94b30f4
treefe19b84c582dbca06f1fbd7f3106eb4ba158efa7
parent35576168dc639c47c354615def5362c7a441de81
Added infrastructure to spin for a bit on recv. A spin count > 0 makes bench/pingpong.rs about 10x faster, but makes msgsend-ring-pipes unbearably slow.
src/libcore/pipes.rs
src/test/bench/pingpong.rs