]> git.lizzy.rs Git - rust.git/commit
Enabled workstealing in the scheduler. Previously we had one global work queue shared...
authortoddaaro <github@opprobrio.us>
Mon, 5 Aug 2013 20:06:24 +0000 (13:06 -0700)
committertoddaaro <github@opprobrio.us>
Thu, 8 Aug 2013 21:13:41 +0000 (14:13 -0700)
commitaf2e03998d4d06f2781ca72ec005f6913148f8bb
treefc65de2220eb4735ef6fdf554b5c7204ec41d6b1
parenta0080f4e07891c89aa1f9851f8b0a3c754734fe8
Enabled workstealing in the scheduler. Previously we had one global work 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.
src/libstd/rt/comm.rs
src/libstd/rt/mod.rs
src/libstd/rt/sched.rs
src/libstd/rt/select.rs
src/libstd/rt/test.rs
src/libstd/task/spawn.rs
src/test/bench/rt-messaging-ping-pong.rs [new file with mode: 0644]
src/test/bench/rt-parfib.rs [new file with mode: 0644]
src/test/bench/rt-spawn-rate.rs [new file with mode: 0644]