fix bench test for arc::arc camelcase

This commit is contained in:
Ben Blum 2012-08-26 22:15:10 -04:00
parent 61249da53a
commit 330311658f
3 changed files with 3 additions and 3 deletions

View File

@ -206,7 +206,7 @@ fn bfs2(graph: graph, key: node_id) -> bfs_result {
}
/// A parallel version of the bfs function.
fn pbfs(&&graph: arc::arc<graph>, key: node_id) -> bfs_result {
fn pbfs(&&graph: arc::ARC<graph>, key: node_id) -> bfs_result {
// This works by doing functional updates of a color vector.
enum color {

View File

@ -14,7 +14,7 @@ import std::time;
import std::arc;
// A poor man's pipe.
type pipe = arc::mutex_arc<~[uint]>;
type pipe = arc::MutexARC<~[uint]>;
fn send(p: &pipe, msg: uint) {
do p.access_cond |state, cond| {

View File

@ -14,7 +14,7 @@ import std::time;
import std::arc;
// A poor man's pipe.
type pipe = arc::rw_arc<~[uint]>;
type pipe = arc::RWARC<~[uint]>;
fn send(p: &pipe, msg: uint) {
do p.write_cond |state, cond| {